TX Sheet Control

FIXED Function

Function

Convert a number to text with a fixed number of decimals. number is rounded to decimals places, 2 when omitted; a negative decimals rounds to the left of the decimal point. no_commas TRUE leaves out the thousands separators; when it is FALSE or omitted, the text has them.

Syntax

FIXED(number, decimals, no_commas)

Category: Text. Minimum arguments: 1. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=FIXED(1234.567,2,TRUE)

The formula returns the text 1234.57, without thousands separators.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also