mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Correct formatting of numbers in output
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user