Dude,
For such a number why do you use double? the reason I ask for double is because a double has 2x the precision than a float. A double has 15 decimal digits of precision, while float only has 7.
In the script you can convert float & double, sure but you will need to round it and you will lose the precision (the only reason to use double).