mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
Adding support for Tsubo, a Japanese unit of floorspace for Japan and Taiwan
This commit is contained in:
parent
3b71d7bd1a
commit
20af3c95a4
1 changed files with 3 additions and 3 deletions
|
@ -175,9 +175,9 @@ void UnitConverterDataLoader::GetUnits(_In_ unordered_map<ViewMode, vector<Order
|
|||
|
||||
bool useWattInsteadOfKilowatt = m_currentRegionCode == "GB";
|
||||
|
||||
// Use Pyeong, a Korean floorspace unit.
|
||||
// https://en.wikipedia.org/wiki/Korean_units_of_measurement#Area
|
||||
bool usePyeong = m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
|
||||
// Use 坪(Tsubo), or Pyeong in Korean, a Japanese unit of floorspace.
|
||||
// https://en.wikipedia.org/wiki/Japanese_units_of_measurement#Area
|
||||
bool usePyeong = m_currentRegionCode == L"JP" || m_currentRegionCode == L"TW" || m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
|
||||
|
||||
vector<OrderedUnit> areaUnits;
|
||||
areaUnits.push_back(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue