Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Suppressing zeros on right of decimal Post Reply Post New Topic
Author Message
ajb2007
Newbie
Newbie
Avatar

Joined: 03 Jan 2007
Location: United States
Online Status: Offline
Posts: 3
Quote ajb2007 Replybullet Topic: Suppressing zeros on right of decimal
    Posted: 03 Jan 2007 at 6:34am
I would like to display 4 or 5 decimal places when number is present
like  0.12345    butdisplay only 3 decimal places when there is only  3 like 0.123
 
thanks
 
ABOBBY
IP IP Logged
WLWes
Newbie
Newbie


Joined: 12 Jan 2007
Online Status: Offline
Posts: 6
Quote WLWes Replybullet Posted: 12 Jan 2007 at 1:30pm
CDbl (CStr ({number},"########.#####"))
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.