Skip to Content
2
May 11, 2020 at 05:06 PM

How to bring T006 and SAPUI5 NumberFormat.getUnitInstance together?

136 Views

Hey all,

how do I bridge the gap between T006/I_UnitOfMeasure and sap.ui.core.format.NumberFormat.getUnitInstance().format() which wants a CLDR name?

On this page there is "A typical use-case is to map from an ISO unit code to a CLDR key." Is such a ready-made mapping list for the standard t006 entries somewhere available?

Thanks!