UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

15 lines 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toString = void 0; /** * Converts the give number to string * @param {number} value * @param {number} characters * @param {number} decimals * @returns string */ const toString = (value, characters, decimals) => { return value.toFixed(decimals).padStart(characters); }; exports.toString = toString; //# sourceMappingURL=toString.js.map