If you take a large number in a text field and then use AS_NUMBER to convert it to a number, the number that is output is floating point not an integer. Is there a way to convert that floating point number to an integer? Or better convert the text to an integer from the outset?
What is actually being attempted here is the stripping of any leading zeros from a telephone number in order to parse it ready for a REST API but there may not always be a leading zero