Skip to content

Commit

Permalink
Clarifying numberFormatLocal description (DefinitelyTyped#37410)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJerabek authored and sandersn committed Aug 6, 2019
1 parent c58a884 commit c15bcd2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
23 changes: 14 additions & 9 deletions types/office-js-preview/index.d.ts
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
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

0 comments on commit c15bcd2

Please sign in to comment.