How to set dual dimensions decimal point using API?

Please see my attached macro. I have dowel pin location call out. It works on the inch, but not on the mm. I am not sure how to use the right decimal point on the mm. Please help

SolidworksApi macros