There are several limitations to consider when you map numeric values.
Double: The largest positive value is +1.79769E+308 and the largest negative value that a double can hold is -1.79769E+308. The smallest positive value a double can have is +2.225E-307 and the smallest negative value is -2.225E-307.
Number: The numeric range for a number variable is 1.0E-130 - 9.99E+125.
Float: The numeric range for a float variable is -1.79E+308 - 1.79E+308.