|
All numbers start with a zero - actually they start with lots of them. Nyef already put that.
Are you wanting to do this for sorting purposes? Trying to avoid the string sort problem, where it goes 0, 1, 11, 12, 2, 25, 3, 33, etc? Obviously, storing the numbers as numbers will avoid this. If it's only for display, you can format them in the database itself (how depends on which DB system), but it's better to accept the verbatim data into your app and format them to your taste there.
|