diff options
Diffstat (limited to 'Userland/Applications/Calculator/Keypad.h')
-rw-r--r-- | Userland/Applications/Calculator/Keypad.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/Calculator/Keypad.h b/Userland/Applications/Calculator/Keypad.h index 0410e31b51..b71b9214da 100644 --- a/Userland/Applications/Calculator/Keypad.h +++ b/Userland/Applications/Calculator/Keypad.h @@ -29,6 +29,8 @@ public: void set_value(Crypto::BigFraction); void set_to_0(); + void set_rounding_length(unsigned); + String to_string() const; private: @@ -46,6 +48,8 @@ private: mutable Crypto::BigFraction m_internal_value {}; + unsigned m_displayed_fraction_length { 0 }; + enum class State { External, TypingInteger, |