samedi 18 mai 2019

How much generable values are there between two fixed float?

I have to make a function which return an integer: the number of float values i can generate in an iterval between two floats. My idea is to delete comma in the two float values and then subtract one to the other, but i don't know how to transform, for example, 10.31 to 1031.




Aucun commentaire:

Enregistrer un commentaire