RoundTo()
Posted: Mon Jun 06, 2011 4:07 pm
Hi,
Either amend the current Round() function or provide a new function RoundTo().
The new/amended function will allow rounding to a number of decimal places - not just a straight integer round up.
Eg.
value = 21.1234
Round(value, 2) result = 21.12
Round(value, 3) result = 21.123
Round(value) result = 21
Either amend the current Round() function or provide a new function RoundTo().
The new/amended function will allow rounding to a number of decimal places - not just a straight integer round up.
Eg.
value = 21.1234
Round(value, 2) result = 21.12
Round(value, 3) result = 21.123
Round(value) result = 21