Posted by Domestos on 10/15/05 01:59
another silly question, but one that is making me scratch my head...
If a user enters '0000' how can I make sure it stores as '0'
like wise...
If a user enter '0032' how can I make sure it stores as '32'
Adding 0 to them makes them come back as 0 - as I assume they are being
treated as strings...
Ideally i need to convert them into numerics rather than a string...
how do I do that?
Domestos
[Back to original message]
|