HTBasic Help
×
Menu
Index

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: