Sharp EL-9900 User Manual
Page 54

44
Chapter 3: Basic Calculations — Basic Keyboard
2 round(
round(
value [, digit number of decimals])
Returns the rounded value of the term in parentheses. A rounding
point can be specified.
* A real number, a list, matrix, variable, or equation can be used
as values.
Example
• Round off 1.2459 to the nearest hundredth. (= 1.25)
M B 2 1 . 2 4 5 9 , 2 ) E
3 ipart
ipart
value
Returns only the integer part of a decimal number.
* A real number, a list, matrix, variable, or equation can be used
as values.
Example
• Discard the fraction part of 42.195. (= 42)
M B 3 4 2 . 1 9 5 E
4 fpart
fpart
value
Returns only the fraction part of a decimal number.
* A real number, a list, matrix, variable, or equation can be used
as values.
Example
• Discard the integer part of 32.01. (= 0.01)
M B 4 3 2 . 0 1 E
5 int
int
value
Rounds down a decimal number to the closest integer.
Example
• Round down 34.56 to the nearest whole number. (= 34)
M B 5 3 4 . 5 6 E
031_049_chapter3_en
02.8.23, 1:50 PM
44