Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[office-js, office-js-preview] Clarifying numberFormatLocal description #37410

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21281,8 +21281,9 @@ declare namespace Excel {
numberFormat: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -45590,8 +45591,9 @@ declare namespace Excel {
numberFormat?: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -50597,8 +50599,9 @@ declare namespace Excel {
numberFormat?: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -56701,8 +56704,9 @@ declare namespace Excel {
numberFormat?: boolean;
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -64028,8 +64032,9 @@ declare namespace Excel {
numberFormat?: boolean;
/**
*
* For EACH ITEM in the collection: Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* For EACH ITEM in the collection: Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down
23 changes: 14 additions & 9 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20021,8 +20021,9 @@ declare namespace Excel {
numberFormat: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -42419,8 +42420,9 @@ declare namespace Excel {
numberFormat?: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -47106,8 +47108,9 @@ declare namespace Excel {
numberFormat?: any[][];
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -52768,8 +52771,9 @@ declare namespace Excel {
numberFormat?: boolean;
/**
*
* Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down Expand Up @@ -59827,8 +59831,9 @@ declare namespace Excel {
numberFormat?: boolean;
/**
*
* For EACH ITEM in the collection: Represents Excel's number format code for the given range as a string in the language of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
* For EACH ITEM in the collection: Represents Excel's number format code for the given range, based on the language settings of the user.
When setting number format local to a range, the value argument can be either a single value (string) or a two-dimensional array. If the argument is a single value, it will be applied to all cells in the range.
Excel does not perform any language or format coercion when getting or setting the `numberFormatLocal` property. Any returned text uses the locally-formatted strings based on the language specified in the system settings.
*
* [Api set: ExcelApi 1.7]
*/
Expand Down