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

Calculator: Add a Shrinking action

This action allow the user to shrink a number to a finite number of
decimal.
This commit is contained in:
Lucas CHOLLET 2022-01-16 22:45:09 +01:00 committed by Tim Flynn
parent e3b22c395d
commit 2ff773a6ba
7 changed files with 32 additions and 7 deletions

View file

@ -29,6 +29,7 @@ public:
void set_value(Crypto::BigFraction);
void set_to_0();
void shrink(unsigned);
void set_rounding_length(unsigned);
unsigned rounding_length() const;