[rrd-users] Re: Values Confusion Part 2

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Jun 9 21:44:59 MEST 2001

HurricaneIndy at aol.com wrote:
> Ok I resolved my first question about "0.04" But I have ran this tutorial 3 
> times now and I am not getting the number the tutorial is giving me. Instead 
> of simple numbers like 0.04, 0.02 I am getting VERY large numbers...
> 920804400: nan
>  920804700: nan
>  920805000: 4.0000000000e-02
>  920805300: 2.0000000000e-02


> Whats going on I carefully typed and even tried copy and paste to make sure I 
> input the correct numbers. I know the tutorial says you wont get exactly the 
> same results but these are WAY off.....
> I am running this on HPUX9000 OS.11

Nope, the results are the same, it's just the notation that has
changed over time.  I did send in a patch but it didn't make it
in the latest release.

4.0000000e-02 just means 4 times 10 to the power -2 which is
4 times 0.01 which is 0.04

For people not used to scientific notation:
Just shift the decimal point when you see numbers like this.
For negative numbers go left, for positive numbers go right.

4.0e-02 means 0.04     (decimal point is shifted left by two)
4.0e-01 means 0.4      (decimal point is shifted left by one)
4.0e+00 means 4        (decimal point is not shifted)
4.0e+01 means 40       (decimal point is shifted right by one)
4.0e+02 means 400      (decimal point is shifted right by two)


 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list