Frac Function

Returns the fractional portion of a number.

Sintaxe:

Frac (Number)

Valor de retorno:

Duplo

Parámetros:

Number: Any valid numeric expression.

Códigos de erro

5 Chamada de procedemento incorrecta

Exemplo:


        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
    

Precisamos da súa axuda!