drop the decimal without rounding

  • Thread starter Thread starter annc5411
  • Start date Start date
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)
 
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!].
 
Back
Top