You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Syntax:
round(number, digits)
Description:
Rounds a number to a specified number of digits.
Parameters:
Parameter | Type | Required | Description |
---|
number | Number | Yes | The number that you want to round. |
digits | Number | Yes | The number of digits to which you want to round the number argument. |
Return type:
number
Example:
number a = round(2.36547, 2);
print("a= " + a);
Prints: a= 2.37;
See Also:
-
Page:
exp
(Simple Issue Language™)
-
Page:
-
Page:
ln
(Simple Issue Language™)
-
Page:
trunc
(Simple Issue Language™)
-
Page:
sqrt
(Simple Issue Language™)
-
Page:
sin
(Simple Issue Language™)
-
Page:
fact
(Simple Issue Language™)
-
Page:
-
Page:
-
Page:
cos
(Simple Issue Language™)
-
Page:
tan
(Simple Issue Language™)
-
Page:
power
(Simple Issue Language™)
-
Page:
log
(Simple Issue Language™)
-
Page:
sign
(Simple Issue Language™)
-
Page:
round
(Simple Issue Language™)