mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:57:35 +00:00
Calculator: Add a Rounding menu
This menu has three actions. Each one of them enable a different level of rounding: to 0, 2 or 4 digits.
This commit is contained in:
parent
164094e161
commit
de568f87fd
5 changed files with 35 additions and 5 deletions
|
@ -21,6 +21,8 @@ public:
|
|||
String get_entry();
|
||||
void set_entry(Crypto::BigFraction);
|
||||
|
||||
void set_rounding_length(unsigned);
|
||||
|
||||
private:
|
||||
CalculatorWidget();
|
||||
void add_operation_button(GUI::Button&, Calculator::Operation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue