Chapter 2: Math, Angle, and Test Operations
47
round(
round(
returns a number, expression, list, or matrix rounded to
#decimals
(
9). If
#decimals
is omitted,
value
is rounded to the digits that are displayed, up to 10 digits.
round(
value
[
,
#decimals
]
)
iPart(, fPart(
iPart(
(integer part) returns the integer part or parts of real or complex numbers, expressions, lists,
and matrices.
iPart(
value
)
fPart(
(fractional part) returns the fractional part or parts of real or complex numbers, expressions,
lists, and matrices.
fPart(
value
)
Note: The way the fractional result is displayed depends on the Answers mode setting. To convert from one
format to another, use
4
F
3 4
D on the FRAC shortcut menu (
t ^
4
).
int(
int(
(greatest integer) returns the largest integer
real or complex numbers, expressions, lists, and
matrices.
int(
value
)