M
Martin Mohr
Hello,
to work around a problem I'm having with SDL::OpenGL (see earlier
thread), I'd like to know a way to force an integer value (IV) to become
a double value (NV). It's not as easy as I first thought:
perl -MDevel:eek -e "$a = 1;$a+=0.0; Dump $a"
This shows that $a remains IV. How can I achive this cast?
Ciao
Martin
to work around a problem I'm having with SDL::OpenGL (see earlier
thread), I'd like to know a way to force an integer value (IV) to become
a double value (NV). It's not as easy as I first thought:
perl -MDevel:eek -e "$a = 1;$a+=0.0; Dump $a"
This shows that $a remains IV. How can I achive this cast?
Ciao
Martin