Last post Aug 06, 2013 05:21 PM by Rion Williams
Aug 06, 2013 04:44 PM|engcanada|LINK
I have a form that is being picked up as follows:
However, If a number entered as 035 it's converted to 35 removing the preceeding "0". I need the entire number!
Aug 06, 2013 04:51 PM|wavemaster|LINK
035 is not an integer
keep it as a string
Aug 06, 2013 05:21 PM|Rion Williams|LINK
If you want to store the value as "035", you'll need to store it as a String instead of an integer.
Integers will ignore any leading zeroes when they are read and used by default, so this is completely normal behavior. Have you consider storing it as a String and when you need to actually grab the value, using the AsInt() method?