Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

This is simple. Please help

 
David Barry
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Report post to moderator
I know that you do 6.83783 * 10^3 as 6.83783E3, but how do I do that number times 10 to the negative third?
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12097
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
you want 10 to the negative 1/3 power? that's the same as 1 over the cube root of 10, which would require you to use the Math.pow function:

6.83783 / Math.pow(10.0, 1.0/3);

are you sure you didn't mean 10 to the negative three power?

in which case you simply would write

6.83783E-3
 
David Barry
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks for the help. I figured it out, finally.
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't use thread titles like This is simple. Please help.
 
    Bookmark Topic Watch Topic
  • New Topic