From e0f70e8c37df37151a88c4a77e8f90cd2a8217cf Mon Sep 17 00:00:00 2001 From: marcellogianola Date: Fri, 8 Mar 2019 22:46:36 +0100 Subject: [PATCH] fixed typo (#171) --- src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp b/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp index 4958532..4bb4f72 100644 --- a/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp +++ b/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp @@ -275,7 +275,7 @@ pair CurrencyDataLoader::GetCurrencyRatioEquality(_In_ const U { double ratio = (iter2->second).ratio; - // Round the raio to FORMATTER_DIGIT_COUNT digits using int math. + // Round the ratio to FORMATTER_DIGIT_COUNT digits using int math. // Ex: to round 1.23456 to three digits, use // ((int) 1.23456 * (10^3)) / (10^3) double scale = pow(10, FORMATTER_DIGIT_COUNT);