Author Topic: Displaying full decimal answer  (Read 2109 times)

0 Members and 1 Guest are viewing this topic.

Hangman

  • Swamp Rat
  • Posts: 566
Displaying full decimal answer
« on: April 26, 2006, 12:41:00 PM »
Alright, this is a dumb question, but I'm feeling dumb today.
For the life of me, I can't remember how to set the display to show the full decimal answer.

I'm trying to get the answer to the following
Code: [Select]
(/ 20060425 16.0)

But this is what I'm getting.
Code: [Select]
1.25378e+006

When I'm suppose to be getting
Code: [Select]
1253776.625

How can I get the correct answer (the last entry shown) ??
Hangman  8)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Drafting Board, Mechanical Arm, KOH-I-NOOR 0.7mm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Displaying full decimal answer
« Reply #1 on: April 26, 2006, 12:44:59 PM »
Code: [Select]
(rtos (/ 20060425 16.0) 2 16)
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Displaying full decimal answer
« Reply #2 on: April 26, 2006, 01:41:31 PM »
Code: [Select]
(rtos (/ 20060425 16.0) 2 16)

but...
RTOS = Converts a number into a string

 :-)
Keep smile...

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Displaying full decimal answer
« Reply #3 on: April 26, 2006, 02:04:09 PM »
For what purpose are you trying to display it?

If it is merely for calculations, the answer returned IS correct, it is just shown in a different format.

If it is to display in the drawing editor or in Text/Mtext object then Tim's solution is what you need.

Didge

  • Bull Frog
  • Posts: 211
Re: Displaying full decimal answer
« Reply #4 on: April 28, 2006, 11:32:24 AM »
It's also worth mentioning that the system variable "DimZin" has a bearing upon the returned RTOS format.
Think Slow......