META-INF.resources.bower_components.globalize.src.util.string.pad.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
define(function () {
return function (str, count, right) {
var length;
if (typeof str !== "string") {
str = String(str);
}
for (length = str.length; length < count; length += 1) {
str = (right ? (str + "0") : ("0" + str));
}
return str;
};
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy