mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibJS: Update spec link for FormatNumericToString AO
This is an editorial change in the ECMA-402 spec. See:
e3f7260
Note the other changes in this commit do not apply to our implementation
as we defer to ICU for the affected steps.
This commit is contained in:
parent
be70f8d345
commit
0f1fa38442
Notes:
github-actions[bot]
2025-04-08 10:53:57 +00:00
Author: https://github.com/trflynn89
Commit: 0f1fa38442
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4275
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ int currency_digits(StringView currency)
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 16.5.3 FormatNumericToString ( intlObject, x ), https://tc39.es/ecma402/#sec-formatnumberstring
|
// 16.5.3 FormatNumericToString ( intlObject, x ), https://tc39.es/ecma402/#sec-formatnumerictostring
|
||||||
String format_numeric_to_string(NumberFormatBase const& intl_object, MathematicalValue const& number)
|
String format_numeric_to_string(NumberFormatBase const& intl_object, MathematicalValue const& number)
|
||||||
{
|
{
|
||||||
return intl_object.formatter().format_to_decimal(number.to_value());
|
return intl_object.formatter().format_to_decimal(number.to_value());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue