Calc.cs float to double, throw FormatException on syntax error