summaryrefslogtreecommitdiff
path: root/src/unitparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unitparser.cpp')
-rw-r--r--src/unitparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unitparser.cpp b/src/unitparser.cpp
index 891f7b3..43dacfc 100644
--- a/src/unitparser.cpp
+++ b/src/unitparser.cpp
@@ -33,7 +33,7 @@ void UnitParser::order1()
33 unitTest(parse("2+3*5") == "17"); 33 unitTest(parse("2+3*5") == "17");
34 unitTest(parse("2+3-5") == "0"); 34 unitTest(parse("2+3-5") == "0");
35 unitTest(parse("(2+3)*5") == "25"); 35 unitTest(parse("(2+3)*5") == "25");
36 unitTest(parse("1.59*40/24*21", 5) == "55.125"); 36 unitTest(parse("1.59*40/24*21", 5) == "55.65");
37 unitTest(parse("1.59*40/(24*21)", 5) == "0.125"); // bc says it's this: "0.12619"); 37 unitTest(parse("1.59*40/(24*21)", 5) == "0.12619"); // bc says it's this: "0.12619");
38} 38}
39 39