drop the decimal without rounding

A

annc5411

I need to drop the decimals without rounding, so if the answer is 23.65 it
would be 23
 
R

Rick Rothstein

The INT function others have suggested will work fine as long as your
numbers are all positive values. However, if you can have negative value,
then you should use this instead...

=ROUNDDOWN(A1,0)
 
D

David Biddulph

Either =INT(A1) or =TRUNC(A1), depending on how you want to treat negative
numbers.

=ROUNDDOWN(A1,0) is another option, and for positive numbers also
=FLOOR(A1,1) [or to allow for -ve numbers too, =FLOOR(A1,SIGN(A1)) but that
might be overdoing the complication!].
 
Top