Closed
Description
I'm working on a program where the customer wants to be able to change the 'default units'.
ex
In a Settings-tab:
Pressure (choose) Bar or Pascal.
If you select 'Bar' then all input and output are displayed in Bar.
Right now I have hard coded it like:
Pressure = Pressure.FromBars(Control.Value);
OutputBox = Pressure.ToUnit(PressureUnit.Bar).ToString();
What is Best practices for making dynamic units?
Metadata
Metadata
Assignees
Labels
No labels