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 .

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
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]) → 1 (rounds a given number down to the nearest integer)=Ceiling([ARTran.CuryTranAmt]) → 2 (rounds a given number up to the nearest integer)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.