[JavaScript] 替數字、文字在特定長度中補0. 2011/5/10 10:12 | 閱讀數: 6061 | 我要 ... 例如:你要在45前面補到字傳長度為5的字串,你就要呼叫paddingLeft( 45 , 5 ).
www.dotblogs.com.tw