# Frac- Returns the fractional portion of a number

Function that returns the fractional part of a floating point number.

- Frac(N): float

Parameters:

- (float) N: floating point number.

Description:

Use the Frac function to derive the fractional part of a number.

Examples:

// N contains the value 1.5

N = 1.5

// Stores in R the fractional part of N

R = Frac(N)

// Shows the variable R, i.e. the fractional number 0.5

MsgBox(R)