Use this macro to get the double value of a variable.
For comparision of DOUBLEVALUE and this macro see the explanation in besGETLONGVALUE.