C
Curious
I want to get the integer part of a number declared as double type.
For instance, for 8.76, I want to get 8 instead of 9. In other words,
I want to cut off anything after the decimal point. Any advice on how
to do this?
For instance, for 8.76, I want to get 8 instead of 9. In other words,
I want to cut off anything after the decimal point. Any advice on how
to do this?