When you configure how numbers display, you select the number of decimal places to show. Crystal Reports then rounds the display value to that decimal position and that is what you see.
But what if you want to display the actual number? If the original number has no decimal places, you want to see that. If the original has three decimal places, you want to see all three.
You can do this using conditional formatting.
Infolink
Search This Blog
Mar 25, 2014
Mar 21, 2014
ToText Function in Crystal Report
ToText Function
Uses
The ToText function can be used to convert number, date, boolean, or time values to a string (text). It provides you with controls that let you control how the resulting string looks.
It’s mostly used for concatenation (for example, you can create a title for your report that shows the records covered, or a group name that shows the date range included.)
- Add parameters to a Report title
- Control how group names appear (you can force your dates to appear in the format 3/7/10 or 20100901.
Subscribe to:
Posts (Atom)