FIXED

Formats a number with a fixed number of decimal places.

Sample Usage

FIXED(3.141592653,2)

FIXED(966364281,4,1)

Syntax

FIXED(number, [number_of_places], [suppress_separator])

  • number - The number to format.

  • number_of_places - [ OPTIONAL - The number of decimal places to display in the result.

    • If number has fewer than number_of_places significant digits, zeros will be appended. If it has greater than number_of_places significant digits, number will be rounded to the correct number_of_places rather than truncated.
  • suppress_separator - [ OPTIONAL - 0 by default ] - Whether or not to suppress the thousands separator used in some locales (e.g. 1,000 becomes 1000). Separators will be present if this value is 0 or omitted, and absent otherwise.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
730722778887855461
true
Search Help Center
true
true
true
true
true
35
false
false