Bounding Box Macro as fractions

Hi, attached is a bounding box size macro. Can anyone convert or add fractional inches to the macro please?

We are on SW2017 for another year. 

Thank You. 

SolidworksApi/macros