Dimensions Change

I have a sketch in an assembly that is being controlled by a macro, and i am using the sketch dimensions in a drawing also. Lets say i have the dimensions set to millimeters and it doesnt have any decimals places (2706 DIAMETER TANK) When i run the macro and adjust the sketch the dimensions change to (2705.65455). Has anyone ever ran into this before?

SolidworksApi macros