Frac Function

Returns the fractional portion of a number.

Sintaxi:

Frac (Number)

Valor de retorn:

Double

Paràmetres :

Number: Any valid numeric expression.

Codis d'error

5 La crida al procediment no és vàlida

Exemple :


        Sub ExampleFrac
            Print Frac(3.99) ' returns the value 0.99
            Print Frac(0) ' returns the value 0
            Print Frac(-3.14159) ' returns the value -0.14159
        End Sub