Click here to Skip to main content
16,011,849 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

i Crystal report when i apple sum formula then i get a Float result sum value

like when i add 2 + 2 then i get a result 4.00 but i want only 4 not decimal part.
Posted
Updated 23-Sep-12 20:38pm
v2

i solve it like that
Use format Editor to display as int. Right Click on that field and select Format Editor--> Number Tab select what ever format you require.
 
Share this answer
 
Hi,

you can format the values as per your requirement.
See the below example. It will help you how to format the value.

http://support.insightdirect.com/help/cr/frmtnumcr.htm[^]

Thanks,
Viprat
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900