Hi all,
My program is proving Kaprekar's Constant - 6174.
To do this I will need to store values exactly how they come out without losing any preceding 0's which int has a habit of cutting off.
For example:
Number to store exactly: 0147
Int stores: 147
A googling session has left me short and so i wondered is it actually possible to stop an int from cutting off preceding zeros or will I need to use strings?
Cheers,
Mike