• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

number to scientific notation

  • Thread starter Thread starter genbel
  • Start date Start date

genbel

Guest
Good morning, I am here to ask you kindly for help and an explanation:
strangely a string

(setq weightper(/ weightper 28316846.591999996))
returns a number to scientific notation = 1.73402e-05
which is not readable in subsequent lisp operations.
How do I make it a real number?
 
is already a real number, the result of a division does not return strings, is in that format because it has a very small value
 
thanks for the quick answer rporr, you are always very kind and as always give me immediate point:
you are perfectly right - I couldn't see it in the dcl because I had few decimal digits and so I thought it multiplied by zero. Your indication made me understand the problem,
Thanks again
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top