examples/phonegap1/platforms/ios/www/plugins/cordova-plugin-globalization/www/globalization.js
function (currencyCode, successCB, failureCB) {
        argscheck.checkArgs('sfF', 'Globalization.getCurrencyPattern', arguments);
        exec(successCB, failureCB, 'Globalization', 'getCurrencyPattern', [{'currencyCode': currencyCode}]);
    }
function (currencyCode, successCB, failureCB) {
        argscheck.checkArgs('sfF', 'Globalization.getCurrencyPattern', arguments);
        exec(successCB, failureCB, 'Globalization', 'getCurrencyPattern', [{'currencyCode': currencyCode}]);
    }
function ( currencyCode , successCB , failureCB ) { argscheck . checkArgs ( 'sfF' , 'Globalization.getCurrencyPattern' , arguments ) ; exec ( successCB , failureCB , 'Globalization' , 'getCurrencyPattern' , [ { 'currencyCode' : currencyCode } ] ) ; }
Returns a pattern string for formatting and parsing currency values according to the client's
user preferences and ISO 4217 currency code. It returns the pattern to the successCB callback with a
properties object as a parameter. If there is an error obtaining the pattern, then the errorCB
callback is invoked.

@param {String} currencyCode
@param {Function} successCB
@param {Function} errorCB

@return    Object.pattern {String}: The currency pattern for formatting and parsing currency values.
The patterns follow Unicode Technical Standard #35
http://unicode.org/reports/tr35/tr35-4.html
Object.code {String}: The ISO 4217 currency code for the pattern.
Object.fraction {Number}: The number of fractional digits to use when parsing and
formatting currency.
Object.rounding {Number}: The rounding increment to use when parsing and formatting.
Object.decimal: {String}: The decimal symbol to use for parsing and formatting.
Object.grouping: {String}: The grouping symbol to use for parsing and formatting.

@error GlobalizationError.FORMATTING_ERROR

Example
globalization.getCurrencyPattern('EUR',
function (currency) {alert('Pattern:' + currency.pattern + '\n');}
function () {});
Returns a pattern string for formatting and parsing currency values according to the client s user preferences and ISO 4217 currency code . It returns the pattern to the successCB callback with a properties object as a parameter . If there is an error obtaining the pattern then the errorCB callback is invoked .