Frac Function

Returns the fractional portion of a number.

Sözdizimi:

Frac (Number)

Dönüş değeri:

Double

Parametreler:

Number: Any valid numeric expression.

Hata kodları:

5 Geçersiz yordam çağrısı

Örnek:


        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
    

Please support us!