Frac function

Fractional Part and Maximal Digits of a Numeric Value