C
cyberdude
Hi,
I have some numbers which are bigger than 999 in value. For example,
these numbers are 1000, 13457 and 2345.67. I need to add commas to
these numbers at the interval of every three digits starting from the
last digit in the backward direction.
For example, if I am given 13457, I need to convert it to 13,457. If
I am given 2345.67, I need to convert it to 2,345.67, if it is
1234567.89, I need to turn it to 1,234,567.89 and it if is 1234567, it
becomes 1,234,567.
Could someone tell me how to do this? Thank you.
Mike
I have some numbers which are bigger than 999 in value. For example,
these numbers are 1000, 13457 and 2345.67. I need to add commas to
these numbers at the interval of every three digits starting from the
last digit in the backward direction.
For example, if I am given 13457, I need to convert it to 13,457. If
I am given 2345.67, I need to convert it to 2,345.67, if it is
1234567.89, I need to turn it to 1,234,567.89 and it if is 1234567, it
becomes 1,234,567.
Could someone tell me how to do this? Thank you.
Mike