Correct formatting of numbers in output

This commit is contained in:
Andrew Cooper
2022-04-16 17:24:32 +10:00
parent 5fbf0dc37f
commit 8dd1180d87
7 changed files with 33 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ public static class Math
{
public static float CalculateOriginal(float result) => (result + 1 - 5) * 5 / 8 * 5 - 3;
public static string ShowWorking(float value) =>
public static string ShowWorking(Number value) =>
string.Format(
Formats.Working,
value,