In the above code example, we used the CurrencyConversionFormatter
droplet to format the currency according to the targetLocale
parameter passed. It takes as inputs the currency to format, the locale of the user, targetLocale
, and outputs the formattedCurrency
parameter.
Copyright © 1997, 2019 Oracle and/or its affiliates. All rights reserved. Legal Notices