> I really need is to transform the line data to a percent value...
Assuming edata is the entity data returned from an entget,
(defun percentslope (edata / p1 p2 dv dx dy)
(setq
p1 (trans (cdr (assoc 10 edata)) 0 1)
p2 (trans (cdr (assoc 11 edata)) 0 1)
dv (mapcar'- p2 p1)
dx (car dv)
dy (cadr dv))
(if (zerop dx)
"Vertical"
(strcat (rtos (* 100 (/ dy dx)) 2 2) "%"))) ;change the decimal
precision as needed