META-INF.resources.bower_components.globalize.src.number.formatter-fn.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwebmp-globalize Show documentation
Show all versions of jwebmp-globalize Show documentation
The JWebSwing implementation for a full Globalization
The newest version!
define([
"../common/validate/parameter-presence",
"../common/validate/parameter-type/number",
"./format"
], function (validateParameterPresence, validateParameterTypeNumber, numberFormat) {
return function (properties) {
return function numberFormatter(value) {
validateParameterPresence(value, "value");
validateParameterTypeNumber(value, "value");
return numberFormat(value, properties);
};
};
});