06-02-2015 07:00 PM
can anyone tell me the code how to round a data to it's next integer value? I know how to round down (9.81 to 9), but I don't know how to round up (9.01 to 10)
here is the code I know for rounding except rounding to the next integer.
value1 = round(no); *rounding to the nearest integer;
value2 = int(no); *Keep the integer only;
value3 = round(no,0.01); *rounding to the nearest second decimal;