Legacy Documentation

Mathematica® Teacher's Edition (2002)

This is documentation for an obsolete product.
Current products and services
 Documentation /  Mathematica Teacher's Edition /  The Teacher's Book /  Basic Calculations /  Real and Complex Numbers /

4.2 Numerical Functions

Some numerical functions of real variables.

Round[x], Floor[x] and Ceiling[x] can all be considered to give versions of the integer part of x.

In[1]:= x = 2.3; {x, Round[x], Floor[x], Ceiling[x]}

Out[1]=

This gives the fractional parts of the numbers in the list .

In[2]:= w = {3, 2.7, 4.2}; w - Floor[w]

Out[2]=

This gives the least and the greatest numbers in .

In[3]:= {Min[w], Max[w]}

Out[3]=