As it currently stands, IntToString doesn't support negative numbers, i.e. doesn't print a minus sign in front of the integer. This should be changed.
(To be honest, the function is really not optimal; instead of a for loop, why not a while? Then we wouldn't have to compute the number of leading zeros to trim...)
As it currently stands, IntToString doesn't support negative numbers, i.e. doesn't print a minus sign in front of the integer. This should be changed.
(To be honest, the function is really not optimal; instead of a for loop, why not a while? Then we wouldn't have to compute the number of leading zeros to trim...)