This Function returns a <numeric>, which is the the result of rounding the specified Source Value to the specified Decimal Places.
Parameters
Source Value <numeric> |
|
Value to round. |
|
|
Decimal Places numeric> |
|
Number of decimal places to round the Source Value to.
|
|
|
Example 1
|
|
Example 2 |
|
Example 3 |
Round(1.57, 1)
Result = 1.6
|
|
Round(-1.57, 1)
Result = -1.6 |
|
Round(1.54, 1)
Result = 1.5 |
|
|
|
|
|
Example 4 |
|
Example 5 |
|
|
Round(2, 1)
Result = 2 |
|
Round(2.0, 1)
Result = 2 |
|
|
Updated: 3/25/2013 11:46 AM |