Skip to content

Commit

Permalink
fixed typo (microsoft#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellogianola authored and Daniel Belcher committed Mar 8, 2019
1 parent c85d7ec commit e0f70e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ pair<wstring, wstring> 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);
Expand Down

0 comments on commit e0f70e8

Please sign in to comment.