N

傳回以數字形式提供的引數。

使用範本

N(A2)

N(4)

語法

N(值)

  • - 要轉換成數字的引數。

    • IF is TRUE , Nreturns1.

    • IF is a number, the number is returned.

    • IF is a date or time, N returns a generated serial number, based on the number of days since 30 December,

      1. Negative values are interpreted as days before this date, and fractional values indicate time of day past midnight.
    • IF is FALSE or any value not listed above, Nreturns0.

附註

  • When using N on numeric values in other cells, formatting (into currencies, scientific notation, etc.) is lost. To specify formatting on the return value of N, simply apply the format desired to the cell containing the formula.

  • This function is, in fact, rarely necessary as Google Spreadsheet automatically converts between most formats appropriately. IT 總算provided primarily for compatibility with formulas used in other spreadsheet packages.

另請參閱

TO_DATE: 將指定數字轉換成日期。

T: 傳回轉換成文字的字串引數。

範例

還有其他問題嗎?

嘗試以下步驟:

true
造訪學習中心

您有在公司或學校使用 Google 文件等 Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝 Office 的情況下處理 Office 檔案、建立動態專案計劃和小組日曆、自動整理收件匣及進行其他作業。

搜尋
清除搜尋內容
關閉搜尋
主選單
13458992060616435644
true
搜尋說明中心
true
true
true
true
true
35
false
false