Question: How to find the integer that is less than and closest to a real number

In the C programming language the following code makes i = 1

real r;      integer i;      r = 1.9;         i = r;

How do I do the same in Maple?

Please Wait...