please make "int" work as it should
I am still heavily impressed by this awesome project. :thumbup:
But there is still one little issue, which should be corrected, to make Zooper work properly in every respect.
The Math Expression "int" works in the same way as the Math Expression "round" (I know this is documented in Math Expressions).
But as known of other programs (Excel ...), "int" should return the Integer of any number.
int(12.87) = 12 not 13
int(-9.70) = -9 not -10
Please make "int" work this way. :D
By the way It would be even nicer, if you would give us one more Math Expression, on top of the already existing ones, that returns the part behind the Integer (my Casio ALGEBRA FX 2.0 PLUS uses "frac" to realize this).
frac(27.09) = 0.09
frac(-2.98) = -0.98
Thank you again and again for having developed this excellent app/widget! :D :allthumbsup:
Please do not drop this project.
Every one of us is excited waiting for updates. :D :D ;)
John Lee Pettimore III commented
floor(12.87) = 12
floor(-9.70) = -9
ceil(12.87) = 13
ceil(-9.70) = -10
Dear Josue Ponce Paredes,
thanks for this hint.
But since there is the INT funktion implemented, it should work the right way, without having to do extra operations to get the correct result (and there is a plethora of ways, to do so).
Imagine, you would have bought a calculator, where the button for multiplication would do the same, as the button for addition does. There would also be at least one way, to get, in nearly all cases, the correct result. But I know for sure, you would have returned such a calculator, because of malfunction.
Josue Ponce Paredes commented
You can make more controlls to get wat u want, if you use %1 in this problem u can resolve it:
27.09%1 return 0.09 and you can make math operations to get interger number
New operations or variables, i think this is more important now u.u