How to Round up numbers
This function Rounds a number (real/integer) Up to the first higher integer, except if it is a real integer.
Examples:
23.168 becomes 24.000
26.00 stays 26.00.
Can be used with
CallProg()-function
Batch Task, End Task: Yes/After
Return Value: var B
Record Main
Select Parameter i-RealToRoundUp (Num N12.6) (var A)
Select Parameter o-Result (Num N12.6) (var B)
Record Suffix
Update B Exp:Round (A + 0.49999, 12, 0)
Category
CategoryHowTo
There are no comments on this page. [Add comment]