# Numeric Functions

The following numeric functions perform calculations. Mathematical and Boolean operators are described in a separate section. Functions differ from operators in that functions pass arguments and return a result, instead of operators that return a result by combining two numeric expressions.

The following are the trigonometric functions that are supported in LibreOffice Basic.

LibreOffice Basic supports the following exponential and logarithmic functions.

The following statements and functions generate random numbers.

Use this function to calculate square roots.

Functions to round values to integers, and to take the fractional part of a value.

This function returns absolute values.

This function returns the algebraic sign of a numeric expression.

The following functions convert numbers from one number format to another.