mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:18:11 +00:00
LibJS+LibWeb: Rename number_to_string to number_to_deprecated_string
This commit is contained in:
parent
c79d20be58
commit
8a88d4434f
5 changed files with 8 additions and 8 deletions
|
@ -296,7 +296,7 @@ bool MathematicalValue::is_zero() const
|
|||
DeprecatedString MathematicalValue::to_deprecated_string() const
|
||||
{
|
||||
return m_value.visit(
|
||||
[](double value) { return number_to_string(value, NumberToStringMode::WithoutExponent); },
|
||||
[](double value) { return number_to_deprecated_string(value, NumberToStringMode::WithoutExponent); },
|
||||
[](Crypto::SignedBigInteger const& value) { return value.to_base_deprecated(10); },
|
||||
[](auto) -> DeprecatedString { VERIFY_NOT_REACHED(); });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue