Gambas Documentation
Documents
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Round
Value
= Round (
Number
[
,
Digits
]
)
Rounds a number to its nearest integer, if
Digits
is not specified.
If
Digits
is specified, rounds to
10
^
Digits
.
Examples
PRINT
Round
(
Pi
,
-2
)
3.14
PRINT
Round
(
1972
,
2
)
2000
See also
Arithmetical Functions