Wednesday, February 24, 2010

Round() function for SEAL and FLOOR values in X++

static void SealORFloorValues(Args _args)
{
AmountMst amount;
amount = 2.4;
print round(amount, 1);
pause;
}
// if value is 2.5 then it will print 3
// if value if 2.4 then it will pront 2