js 0埋め# // NUM=値 LEN=桁数 zeroPadding = (num, length) => { return ( Array(length).join('0') + num ).slice( -length ); } Related Notes# References# Tags# #js