Integers store anstract number. As there is no difference between 5 and 00006 cars, you will get same value no matter how many leading zeroes you enter. Depending on your needs you will either have to store your number as string or use manipulators to widen your number.