Syntax
=FIXED(number, [decimals], [no_commas])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number to round and format |
decimals | Optional | Digits after the decimal point (2 when left out) |
no_commas | Optional | TRUE to leave out thousands separators |
How to use FIXED
FIXED takes 1 required argument and 2 optional arguments. Type =FIXED( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=FIXED(1234.567, 1)Result =FIXED(1234.567, -1)Result =FIXED(-1234.567, -1, TRUE)Result Related text functions
- DOLLARFormats a number as currency text, rounded to the given number of decimals.
- EXACTChecks whether two texts are exactly the same, including upper and lower case.
- FINDReturns the position of one text inside another, matching upper and lower case exactly.
- FINDBSame as FIND, counting bytes; without a double byte language set as default each character counts as one byte.
- JISChanges half width (single byte) characters to full width (double byte) characters.
- JOINJoins values and ranges with a delimiter between them.
- LEFTReturns the first characters of a text.
- LEFTBSame as LEFT, counting bytes; without a double byte language set as default each character counts as one byte.
- LENReturns the number of characters in a text.