dimen_convert
dimen_convert (dimen)
This function returns a string with dimen converted to inches. dimen must be a double-quoted string containing a number followed by a unit abbreviation. Valid abbreviations are: in (inches), cm (centimeters), mm (millimeters), pt (points), pi (picas), px (pixels), and pc (picas). dimen_convert returns a null string if dimen is not one of the valid abbreviations.
Examples:
• dimen_convert("2cm") returns 0.79in
• dimen_convert("25.5pc") returns 4.23in