简体   繁体   中英

Crystal Report Decimal value to Integer

In database it is stored in Bigint but when comes tocrystal reports page it displays in decimal format; Value is in database (3), But when comes to crystal reports page becomes (3.00). How to change it?

样本

but I need it in integer round off like below

A | B
7 | 6

i'm using visual studio 2005.

there is no number format tab在此处输入图片说明

  1. Select the number field on the report.
  2. Right-click and format.
  3. On the Number tab, click on the Customize button.
  4. On the Number tab, set the number of decimal places to 0.
  1. Select The field
  2. Right Click
  3. Click on Format Object
  4. Click on Number Format
  5. Click on Customize
  6. On Decimalas Select 1

Click on OK

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM