To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
DROUND - Rounds a numeric-expression to the specified number of digits.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
DROUND
Rounds a numeric-expression to the specified number of digits.
DROUND( numeric-expression, digits )
Usage:
Data=DROUND(Sample,10)
PRINT "Current =";DROUND(Amps,4)
Example:
DROUND.BAS
Description:
If the number of digits is greater than fifteen then numeric-expression is not rounded; if the number of digits is less than one then
DROUND
returns zero.
See Also:
CINT
,
FIX
,
FRACT
,
INT
,
PROUND
,
REAL