mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-06 05:01:07 -07:00
fixed typo (#171)
This commit is contained in:
parent
c85d7ec454
commit
e0f70e8c37
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue