Geeks With Blogs

News
David Madden Mastering the craft one mountain at a time.
I do not deal many Crystal Reports but recently have had to dive into a few.  One of the things that drive me nuts is dealing with numbers such as in the running totals.  To get a number to display correctly you need to use the ToText function.  A good site I found is this
 
To get the variable myNumber = 2.3798554 to display as 2.4 you would do the following:
 
ToText(myNumber,2)
 
I know this is not very exciting stuff but if you do not deal with things like this often, it can be a real pain. Posted on Tuesday, April 23, 2013 11:19 AM crystal , crystal reports , ToText , rounding , formatting | Back to top


Comments on this post: Crystal Reports - Getting the number under control

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © DavidMadden | Powered by: GeeksWithBlogs.net