- 马克的新
- Bookmark
- 年代ubscribe
- Mute
- 年代ubscribe to RSS Feed
- 永久链接
- Email to a Friend
- Report Inappropriate Content
04-29-202236点
04-29-202236点
An alternative approach is below - here, we determine how many leading 0s we need to add, by comparing the number of digits in the original value, and comparing it against our "expected" format.
年代pecial note in Example 5, when the number of digits in value exceeds our expected length of the string (max 4 leading 0s). If this is not acceptable, then you will need to do further checks on the Value itself.