mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibJS+LibLocale: Port Intl.NumberFormat to String
This commit is contained in:
parent
76fd5f2756
commit
0c2efa285a
Notes:
sideshowbarker
2024-07-17 10:05:47 +09:00
Author: https://github.com/trflynn89
Commit: 0c2efa285a
Pull-request: https://github.com/SerenityOS/serenity/pull/17132
Reviewed-by: https://github.com/linusg
13 changed files with 169 additions and 149 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Checked.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Variant.h>
|
||||
#include <LibCrypto/BigInt/SignedBigInteger.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
|
@ -87,7 +88,7 @@ public:
|
|||
bool is_positive() const;
|
||||
bool is_zero() const;
|
||||
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
ThrowCompletionOr<String> to_string(VM&) const;
|
||||
Value to_value(VM&) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue