Rounding numbers in Crystal report

后端 未结 2 1704
孤街浪徒
孤街浪徒 2021-01-22 09:46

I have database table which i want to generate a Crystal report for it just to show the numbers as it is e.g i have 11.7 i want it to remain like 11.7 while it round to 12. I do

相关标签:
2条回答
  • 2021-01-22 10:19

    If the formula doesn't work then simply do as follow

    right click on that filed --> format field --> number --> choose the format you want --> click ok

    Check the images for the same

    0 讨论(0)
  • 2021-01-22 10:27

    It is very simple, just select the field to which you want to show two decimal places. Right click on the field go to format field-->go to number tab -->click on customize-->then in Decimal select "1.0".

    http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=9338

    Second option in formula , you can give format, so it will take 1 decimal.(check in above link)

    0 讨论(0)
提交回复
热议问题