46 Chapter 2: Math Operations
7302ENG.DOC CH2 Math Operations, English Julie Hewlett Revised: 07/29/98 11:58 AM Printed: 05/19/99 8:58
AM Page 46 of 32
5. Leave the Decimal Notation
mode at 4 and round p to 5
digits.
-£!!5
b
iPart( and fPart( iPart( and fPart( 1
"
3 and 4 3 and 4
iPart( returns the integer part of a real number, expression, or
each element in a list. For an expression, the expression is
calculated and the integer part of the result is displayed.
iPart(value)
fPart( returns the fractional part of a real number, expression,
or each element in a list. For an expression, the expression is
calculated and the fractional part of the result is displayed.
If value is a mixed number, the fractional part is returned and
displayed according to the current Simplification mode
setting.
fPart(value)
Find the integer and fractional part of 23.45.
1. Set Decimal Notation mode
to Float.
.#b
-l
2. Find the integer part.
:1"3
23.45Eb
3. Find the fractional part.
1"4
23.45Eb
³