Frac Function

Returns the fractional portion of a number.

Syntax:

Frac (Number)

Return value:

๋‘ ์ค„

Parameters:

Number: ์ž„์˜์˜ ์œ ํšจํ•œ ์ˆซ์ž ์‹์ž…๋‹ˆ๋‹ค.

Error codes:

5 ์ž˜๋ชป๋œ ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ์ž…๋‹ˆ๋‹ค.

Example:


        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!