Round
This function will round specified value to specified number of decimal places.
Round("number", "decimalDigits");Function arguments
Dział zatytułowany „Function arguments”- number – (Decimal) The number to be rounded.
- decimalDigits – (Decimal) The number of decimal places to round to.
Return value
Dział zatytułowany „Return value”This function returns Decimal. Returns input number rounded to specified number of decimal places
Examples
Dział zatytułowany „Examples”Example 1: This will return ’3.141′.
num = 3.141516Round(num,3);Example 2: This will return ’3.1′.
num = 3.1Round(num,3);