Samples
Forum
Support
Documentation
add
copy
datePart
dateToStr
dayStart
equal
getISOWeek
getUTCISOWeek
isHoliday
monthStart
strToDate
timePart
toFixed
weekStart
yearStart
Start
API Reference
Mixins
Date
Methods
toFixed
adds a leading zero to a number if it's less than 10
number
toFixed
(
number
num
);
Parameters
num
number
a number that the method is applied to
Returns
number
the formatted number
Example
webix.
Date
.
toFixed
(
7
)
;
//-> 07
Back to top