246
T
T
h
h
e
e
‘
‘
R
R
e
e
a
a
l
l
’
’
g
g
r
r
o
o
u
u
p
p
o
o
f
f
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
CEILING(<num>)
This is a ‘rounding’ function but different in that it always rounds up to the
integer above. Mainly of interest to programmers.
Eg.
CEILING(3.2) = 4
CEILING(32.99)
=
33
CEILING((12+ 6)/7)
= CEILING(2.0642…) = 3
Note:
CEILING(-2.56) = -2
not
-3
. The
CEILING
function rounds up to the next
integer
above
, which is -2.
See also:
DEG
RAD(<deg>)
This function converts degrees to radians.
Eg.
DEG RAD(30) = 0.5235…
DEG RAD(180) = 3.1415926…
See also:
FLOOR(num)
This function is the same as the
function, except that it always rounds down.
Eg.
FLOOR(3.75) = 3
FLOOR(45.01) = 45
Note:
FLOOR(-2.56) = -3 not -2
.
The
FLOOR
function is the same as the
mathematical function ‘greatest integer’ which
is studied in many mathematical courses.
If you want to graph the greatest integer
function then you will need to use the
PLOT
SETUP
view to turn off
CONNECT
first, since the graph is supposed to be a discontinuous step function. The
result with
CONNECT
turned on is not good.