[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

long to float



By furtune I came a liitle bit closer to the solution of my Problem, but
still coulndt solve it. But perhaps can somebody explain me this:

I tried it two ways:

first in a file:
pro test
    out = -1.07615e+8
    byteorder, out, /VAXTOF
end
which delivers me out = 14.2375

second way using the command line:
out = -1.07615e+8
byteorder, out, /VAXTOF
and in the variable watch now is out = 10.8 which is correct!
Also with -3.69732e+019, which should be 6588.0, but will be calculated in
the pro file to 6556, which is wrong

Funny?!?!?

Does somebody know a solution?

Thanks

Dominik