Pass script variable value to AWK

HI all,

some more mistery about AWK, I hope you can help me out:
1)
I have a normal ksh script and sometime I call awk command. I set some variables in the script and I would like to use them up within AWK as well. Unfortunately AWK seems to forget all the variable values outside of its own AWK section.
E.g.

#!/bin/ksh
whatever=100
awk ' {print whatever}' /tmp/dummy

How can I make AWK aware of a variable value set outside of AWK section?

2)
in ksh I was able to typeset -i variable for better calculations. Is there any kind variable set within AWK?
The same arithmetical command gives me a normal result in ksh (e.g. 238749, but in AWK the same in format like 1.34983+12). Is there any way to have normal number in AWK as well?

Thanks a lot

BearCheese

#!/bin/ksh
whatever=100
awk ' { print "'$whatever'" } ' /tmp/dummy
#!/bin/ksh
whatever=100
awk -v whatever=$whatever ' { print whatever } ' /tmp/dummy
#!/bin/ksh
whatever=100
awk ' { print whatever } ' whatever=$whatever /tmp/dummy
$ awk ' BEGIN { v=238749*121212; print v } '
2.89392e+10
$ awk ' BEGIN { v=238749*121212; printf("%f\n",v) } '
28939243788.000000