0

The title doesn't really make sense, as a number with some thing like .23238382 attached to the back of it isn't an integer, but that's not the point. I want to make a program that places commas in the correct position in a number you give. Well, in some of the division equations I need to do, some of the numbers have a decimal on the back and a bunch of numbers, which throws off the program, so I can't seem to figure out a way to take the decimal and numbers behind it off of the number. Any help would be greatly appreciated :)