Given the nature of a CNC lathe, you only normally do work on the radius. Any changes to the radius will affect the diameter.
Diameter is related to radius with the simple equation: Diamter = 2 * Radius.
Could you multiply or divide your code by 2? In Mach3, you could also change the scale by 50% or 200%.