adds a leading zero to a number, if it's less than 10
num | number|string | a number that the method is applied to |
number|string | the formatted number |
webix.Date.toFixed(7); // -> "07"
webix.Date.toFixed(17); // -> 17
webix.Date.toFixed("7"); // -> "07"
Back to top