| 309 | } |
| 310 | |
| 311 | CurrencyType GetLocaleCurrency() |
| 312 | { |
| 313 | char* langstring = setlocale(LC_MONETARY, ""); |
| 314 | |
| 315 | if (langstring == nullptr) |
| 316 | { |
| 317 | return Platform::GetCurrencyValue(NULL); |
| 318 | } |
| 319 | |
| 320 | struct lconv* lc = localeconv(); |
| 321 | |
| 322 | return Platform::GetCurrencyValue(lc->int_curr_symbol); |
| 323 | } |
| 324 | |
| 325 | MeasurementFormat GetLocaleMeasurementFormat() |
| 326 | { |
no test coverage detected