9.0
230
Parameter Description
Num Round this numeric value. If this value is Null then Null is returned.
Places Round to this number of decimal
p
laces. If this is omitted then round to the neares
t
integer value.
Example
Sub Main
Debug
.Print Round(.5) ' 0
Debug
.Print Round(.500001) ' 1
Debug
.Print Round(1.499999) ' 1
Debug
.Print Round(1.5) ' 2
Debug
.Print Round(11.11) ' 11
Debug
.Print Round(11.11,1) ' 11.1
End
Sub
RSet Instruction
Syntax
RSet strvar = str
Group
Assignment
Description
Assign the value of str to strvar. Shorten str by removing trailing chars (or extend with leading blanks). The
previous length strvar
is maintained.
See Also: LSet.
Example
Sub Main
S$ = "123"
RSet S$ = "A"
Debug
.Print ".";S$;"." '". A."
End
Sub
RTrim$ Function
Syntax
RTrim[$](S$)
Group
String










