In JavaScript, when I do a calculation with very large numbers (example: Math.pow(4,2015)*Math.pow(9,2016)
), it returns infinity.
Is there anyway to prevent getting infinity and get the actual result?
In JavaScript, when I do a calculation with very large numbers (example: Math.pow(4,2015)*Math.pow(9,2016)
), it returns infinity.
Is there anyway to prevent getting infinity and get the actual result?