mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix formatting
This commit is contained in:
parent
4e03b766a9
commit
0c34eb0096
1 changed files with 1 additions and 2 deletions
|
|
@ -46,8 +46,7 @@ namespace Flow.Launcher.Plugin.Calculator
|
|||
{ "e", Math.E }, // e is not contained in the default mages engine
|
||||
}
|
||||
});
|
||||
Func<double, double> rad2deg = (rad) => rad * (180.0 / Math.PI);
|
||||
MagesEngine.SetFunction("rad2deg", rad2deg);
|
||||
MagesEngine.SetFunction("rad2deg", (double rad) => rad * (180.0 / Math.PI));
|
||||
MagesEngine.SetFunction("deg2rad", (double x) => x * (Math.PI / 180.0));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue