« Reply #3 on: May 24, 2019, 03:01:40 pm »
Hrhrhr
1. Convert To String
2. Split along Decimal separator --> The High-End of the resulting String-Array contains your fraction
3. String-Reverse the Fraction
4. Convert to Integer (so any leading Zeros in the reversed Fraction get eliminated --> those were trailing zeros in the original order)
5. Convert back To string
6. Check String-Length
7. Done
« Last Edit: May 24, 2019, 03:03:31 pm by Zvoni »

Logged
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircraft