# This is simple. Please help

David Barry

Ranch Hand

Posts: 85

posted 7 years ago

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

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

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors

Campbell Ritchie

Sheriff

Posts: 49849

70