Skip to main content
Solved

How to get rounded value of decimal value

  • January 8, 2026
  • 6 replies
  • 65 views

Forum|alt.badge.img

Hello Experts, i am getting stuck in one of the generic inquiry where total qty is in decimal places so i need to round the decimal value to rounded value. Attached the decimal value .

 

Best answer by aleksandrsechin

Hi ​@vishalsharma49 
Try this formula:
=CInt(Round([ARTran.CuryTranAmt],0))
 


Here is what you will get if the value is 1.2345, for example:

=CInt(Round([ARTran.CuryTranAmt], 0))1

Additionally, if you need:
=Floor([ARTran.CuryTranAmt])(rounds a given number down to the nearest integer)
=Ceiling([ARTran.CuryTranAmt])2 (rounds a given number up to the nearest integer)

6 replies

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+16

Forum|alt.badge.img
  • Author
  • Freshman I
  • January 8, 2026

Hi Manikanta checked this link but i need to round the value not the near  decimal place.


Forum|alt.badge.img+4

Hi ​@vishalsharma49 
Try this formula:
=CInt(Round([ARTran.CuryTranAmt],0))
 


Here is what you will get if the value is 1.2345, for example:

=CInt(Round([ARTran.CuryTranAmt], 0))1

Additionally, if you need:
=Floor([ARTran.CuryTranAmt])(rounds a given number down to the nearest integer)
=Ceiling([ARTran.CuryTranAmt])2 (rounds a given number up to the nearest integer)


Forum|alt.badge.img
  • Author
  • Freshman I
  • January 8, 2026

 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • January 8, 2026

Hi ​@vishalsharma49 
Try this formula:
=CInt(Round([ARTran.CuryTranAmt],0))
 


Here is what you will get if the value is 1.2345, for example:

=CInt(Round([ARTran.CuryTranAmt], 0))1

Additionally, if you need:
=Floor([ARTran.CuryTranAmt])(rounds a given number down to the nearest integer)
=Ceiling([ARTran.CuryTranAmt])2 (rounds a given number up to the nearest integer)

Hi Aleksandrsechin, i tried with the above formula but i am getting error .

 


Forum|alt.badge.img+4

@vishalsharma49 
Review the brackets
=CInt(Round([INSiteStatusSummary.QtyOnHand]/[AMBomMatl.QtyReq],0))