Author Topic: rtos ??  (Read 2126 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
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" ?? :?
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.
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