1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibJS+LibWeb: Rename number_to_string to number_to_deprecated_string

This commit is contained in:
Timothy Flynn 2023-01-13 11:43:01 -05:00 committed by Linus Groh
parent c79d20be58
commit 8a88d4434f
5 changed files with 8 additions and 8 deletions

View file

@ -566,7 +566,7 @@ enum class NumberToStringMode {
WithExponent,
WithoutExponent,
};
DeprecatedString number_to_string(double, NumberToStringMode = NumberToStringMode::WithExponent);
DeprecatedString number_to_deprecated_string(double, NumberToStringMode = NumberToStringMode::WithExponent);
Optional<Value> string_to_number(StringView);
inline bool Value::operator==(Value const& value) const { return same_value(*this, value); }