You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6cc55d
Browse filesBrowse the repository at this point in the historyBrowse files
- change parameter type from backticks to italic in docs:
(`string`) -> (*string*)
- applied across English source and all 4 locales
(de/ko/zh/ru), 126 occurrences in 57 files
- parameter names stay in backticks; escaped pipes in union
types (e.g. *string \| number*) preserved so tables render
- full build verified for all locales, no errors
-`name` - (`string`) required, the formula name (case-insensitive, stored as uppercase)
28
-
-`handler` - (`function`) required, a callback function that processes the input arguments (strings, numbers, booleans, or arrays of these) and returns a single value
27
+
-`name` - (*string*) required, the formula name (case-insensitive, stored as uppercase)
28
+
-`handler` - (*function*) required, a callback function that processes the input arguments (strings, numbers, booleans, or arrays of these) and returns a single value
29
29
30
30
:::note
31
31
The `handler` callback function must be synchronous. Using `Promise` or `fetch` inside the function is not allowed.
Copy file name to clipboardExpand all lines: docs/number_formatting.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,10 +155,10 @@ You are not limited to the [default number formats](#default-number-formats). Yo
155
155
156
156
You can make all these modifications with the [`formats`](api/spreadsheet_formats_config.md) configuration option. It is an array of format objects, each of which contains a set of properties:
157
157
158
-
-`id` - (`string`) mandatory, the id of a format used to set a format for a cell with the [`setFormat()`](api/spreadsheet_setformat_method.md) method
159
-
-`mask` - (`string`) mandatory, a mask for a number format. Check the list of characters available in a mask [below](#the-structure-of-a-mask)
160
-
-`name` - (`string`) optional, the name of a format displayed in the toolbar and menu drop-down lists
161
-
-`example` - (`string`) optional, an example that shows what a formatted number looks like
158
+
-`id` - (*string*) mandatory, the id of a format used to set a format for a cell with the [`setFormat()`](api/spreadsheet_setformat_method.md) method
159
+
-`mask` - (*string*) mandatory, a mask for a number format. Check the list of characters available in a mask [below](#the-structure-of-a-mask)
160
+
-`name` - (*string*) optional, the name of a format displayed in the toolbar and menu drop-down lists
161
+
-`example` - (*string*) optional, an example that shows what a formatted number looks like
162
162
163
163
### The structure of a mask
164
164
@@ -177,8 +177,8 @@ A mask may contain a set of common syntax characters that include digit placehol
177
177
178
178
To apply the necessary format to a numeric value, use the [`setFormat()`](api/spreadsheet_setformat_method.md) method. It takes two parameters:
179
179
180
-
-`cell` - (`string`) the id of the cell whose value should be formatted
181
-
-`format` - (`string`) the name of the [default number format](#default-number-formats) to apply to the cell value
180
+
-`cell` - (*string*) the id of the cell whose value should be formatted
181
+
-`format` - (*string*) the name of the [default number format](#default-number-formats) to apply to the cell value
0 commit comments