I am writing a formula in excel in which I am diving 2 numbers and I don\'t want value in decimal.
I tried using ROUND(5/10,0) but it round of 0.5 to 1.
But my
Use INT()
or FLOOR()
function to do that...
=INT(A1)
or
=FLOOR(A1,1)
If you want to use directly, then use as =INT(5/10)
or =INT(15/10)
...etc.
In case of =Floor()
function use as =FLOOR(5/10,1)
or =FLOOR(15/10,1)
... etc
You can use the function ROUNDDOWN
.
Example:
ROUNDDOWN(15/10,0)
The second parameter stands for the precision. Zero means that you won't have any decimal numbers.
You can use INT
to find the next lower integer.
=INT(5/10)
gives 0
=INT(15/10)
gives 1
=INT(25/10)
gives 2
=INT(-1/10)
gives -1
(because -1 is the integer which is lower than -0.1)=INT(-15/10)
gives -2
(for a similar reason)