This the (error: AutoCAD variable setting rejected: "CANNOSCALEVALUE" 48.0) When running the command. What am i missing?

Code:
(defun c:test ( / STY SIZE OR)  (setvar "cmdecho" 0)
  (setq OR (getvar "orthomode"))
  (setvar "orthomode" 0)
  (setq STY (getvar "dimstyle" ))
  (setq SIZE (/ 1 (getvar "CANNOSCALEVALUE")))
  (command "-insert" "leaders" cancel )
  (command "-dimstyle" "R" "leaders" )
  (setvar "CANNOSCALEVALUE" size)
  (command "_qleader" pause pause pause cancel cancel)
  (command "-dimstyle" "r" STY )
  (setvar "orthomode" OR)
  (setvar "CANNOSCALEVALUE" size)


)