Documentation

toFixed

adds a leading zero to a number if it's less than 10

number toFixed(numbernum);

Parameters

numnumbera number that the method is applied to

Returns

numberthe formatted number

Example

webix.Date.toFixed(7);//-> 07

Back to top