All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.globalize.src.number.formatter-fn.js Maven / Gradle / Ivy

There is a newer version: 0.66.0.1
Show 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);
        };
    };

});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy