Down near the bottom of the routine are a couple of ines that use RTOS
(strcat txt4 (rtos txt6 2 3) txt3)
(strcat (rtos txt6 2 3) txt3)
This piece
(rtos txt6 2 3)
RTOS is "RealToString", so it's taking the variable txt6 and making it a string. The following 2, means it is to use decimal units (4 would be ft-in) and the last 3 means 3 decimal places. If the 3 is left out, it will use the decimal place setting from the drawing LUPREC.