fixed typo (#171)
This commit is contained in:
parent
c85d7ec454
commit
e0f70e8c37
@ -275,7 +275,7 @@ pair<wstring, wstring> CurrencyDataLoader::GetCurrencyRatioEquality(_In_ const U
|
|||||||
{
|
{
|
||||||
double ratio = (iter2->second).ratio;
|
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
|
// Ex: to round 1.23456 to three digits, use
|
||||||
// ((int) 1.23456 * (10^3)) / (10^3)
|
// ((int) 1.23456 * (10^3)) / (10^3)
|
||||||
double scale = pow(10, FORMATTER_DIGIT_COUNT);
|
double scale = pow(10, FORMATTER_DIGIT_COUNT);
|
||||||
|
Loading…
Reference in New Issue
Block a user