Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
Anonymous
191 Views, 3 Replies

rtos

(setq scale 3) (setq scale1(rtos scale 2 2)) ;; change to 2 decimal point return "3" why? actually is "3.00" any ideal please... -- ---------------------------------------- Design/Engineering Dept.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

The value of DIMZIN controls the conversion of numbers to strings for (rtos) and (angtos). Read the help on DIMZIN. -- John Uhden, Cadlantic http://www.cadlantic.com Sea Girt, NJ "nalsur8" wrote in message news:404fd4fb_3@newsprd01... > (setq scale 3) > (setq scale1(rtos scale 2 2)) ;; change to 2 decimal point > return "3" why? actually is "3.00" any ideal please... > > > -- > ---------------------------------------- > Design/Engineering Dept. > >
Message 3 of 4
BillZ
in reply to: Anonymous

Works for me in R2004:

Command: (setq scl 3)
3

Command: (setq scl2 (rtos scl 2 2))
"3.00"


Bill
Message 4 of 4
Anonymous
in reply to: Anonymous

thanks guys set dimzin to 8 it's ok -- ---------------------------------------- Design/Engineering Dept. BillZ wrote in message news:4809188.1079005722966.JavaMail.jive@jiveforum2.autodesk.com... > Works for me in R2004: > > Command: (setq scl 3) > 3 > > Command: (setq scl2 (rtos scl 2 2)) > "3.00" > > > Bill

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost