I am able to allow the controller to figure out my P word for threading. However, I then have to manually enter the numbers into the program from my macro variable. Since the P word cannot contain decimal and has to be 6 digits long. Is there a way to allow the controller to strip the decimals or even trim digits off of the number so I may just use the macro and not have to retype the P word each time I change threading jobs???