Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
rtos ??
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: rtos ?? (Read 2126 times)
0 Members and 1 Guest are viewing this topic.
Andrea
Water Moccasin
Posts: 2372
WWW
rtos ??
«
on:
August 16, 2005, 08:30:30 AM »
Hi all,
need to know why this is not working..
(setq x 12.00)
(setq y (rtos x 2 2))
résult = "12"
?
this is not supposed to be.. "12.00" ??
Logged
Keep smile...
David Hall
Automatic Duh Generator
King Gator
Posts: 4076
rtos ??
«
Reply #1 on:
August 16, 2005, 09:04:32 AM »
Mine worked like you wanted it too. check the values of UNITMODE, DIMZIN, LUNITS, and LUPREC.
Logged
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)
csgoh
Newt
Posts: 176
rtos ??
«
Reply #2 on:
August 16, 2005, 09:07:47 PM »
You have to set the "dimzin" variable to 0.
csgoh
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
rtos ??