Hi,
I have a numeric field that has a length of nine. I need to convert this field to a string that will have comma's inserted into the proper spaces where comma's go in numbers.
Ex1:
numeric_field1 = 999888777
string1 = "999,888,777"
The numeric field is not always 9 digits long, but the string must always be length of 11.
Ex2:
numeric_field2 = 11222
string2 = " 11,222"
Is there a command that will insert those comma's into the proper places, but will not enter the comma's if they are not needed?
Thanks.
I have a numeric field that has a length of nine. I need to convert this field to a string that will have comma's inserted into the proper spaces where comma's go in numbers.
Ex1:
numeric_field1 = 999888777
string1 = "999,888,777"
The numeric field is not always 9 digits long, but the string must always be length of 11.
Ex2:
numeric_field2 = 11222
string2 = " 11,222"
Is there a command that will insert those comma's into the proper places, but will not enter the comma's if they are not needed?
Thanks.