Floating point

Floating point



Function name

Description

Function name

Description

float();

Convert integer to floating point.

floatabs();

Return the absolute value of a floating point number.

floatadd();

Add two floating point numbers.

floatcmp();

Compare two floating point numbers.

floatcos();

Return the cosine of an angle.

floatdiv();

Divide a floating point number.

floatfract();

Return the fractional part of a number.

floatlog();

Return the logarithm of a value.

floatmul();

Multiply two floating point numbers.

floatpower();

Raise a floating point number to a power.

floatround();

Round a floating point number to an integer value.

floatsin();

Return the sine of an angle.

floatsqroot();

Return the square root of a value.

floatsub();

Subtract two floating point numbers.

floattan();

Return the tangent of an angle.

strfloat();

Convert from text (string) to floating point.