The STR() function will convert a numeric value into a formatted text "string". You will need to decide what kind of formatting you want to have expressed and assign it to the raw value.
This example takes the Object's raw width, "A", and raw height, "B", and formats the measured value into text strings defined as "String_W" and "String_H" formatted into feet and fractional inches with a precision of 1/16":
String_W=str("%0.16ffi", A)
String_H=str("%0.16ffi", B)
The GDL Manual section of the Help file can explain the formatting in depth.
David Larrew, AIA, GDLA, GSRC
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA