Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: rounding round up round-up
number = AskLine("Round by 1000", "Enter a number", "") whole = number / 1000 fraction = number mod 1000 rounded = whole * 1000 If fraction >= 500 Then rounded = rounded + 1000 Message("Rounded number", rounded)
Article ID: W13182
Filename: Round a Number up to Nearest 1000.txt
File Created: 1999:04:15:16:52:18
Last Updated: 1999:04:15:16:52:18