I have a field being returned from a DB and i would like to know a simple way of (if there is one!) to removing all leading zeros from the figure.
The code at the minute is just:
And this produces a figure on the page such as: 00000000000001186512
I need this figure to be changed to 1186512.
Fixing the function to remove a specific amount of numbers from the front will not work as eventually the number will change to 8 characters long rather than seven.