For Rounding
static void Job1(Args _args)
{ int i, ii; real r = 334.55, r2 = 334.14; ; i = decround(r, 0); ii = decround(r2, 0); // It shows 335, 334 info(strfmt("%1, %2", i, ii)); }
****FLOOR & SEAL****
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
No comments:
Post a Comment