FIXED

將數字轉換成固定小數位數。

使用範本

FIXED(3.141592653,2)

FIXED(966364281,4,1)

語法

FIXED(number, number_of_places, suppress_separator)

  • number 要轉換格式的數字。

  • 位數 要在結果中顯示的小數位數。 結果

    • IFnumber has fewer than 位數 significant digits, zeros will be appended. If it has greater than 位數 有效位數number will be rounded to the correct 位數 rather than truncated.
  • 隱藏分隔符 - [ 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.

範例

這對您有幫助嗎?
我們應如何改進呢?