Navigation: thinBasic Modules > Core > Numeric handling > ROUND |
|
Description
Round a numeric value to a specified number of decimal places.
Syntax
n = ROUND(NumericExpression, nDecimals)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
NumericExpression |
Numeric |
No |
The numeric value to be rounded |
nDecimals |
Numeric |
No |
Number of decimal places to return in the rounded number |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |