dimanche 17 juillet 2016

Round a Floating Point Number Down to the Nearest Integer?


As the title suggests, I want to take a floating point number and round it down to the nearest integer. However, if it's not a whole, I ALWAYS want to round down the variable, regardless of how close it is to the next integer up. Is there a way to do this?


Aucun commentaire:

Enregistrer un commentaire