Hey everyone. I am new to Objective-C programming. As a fun side project I am making a two dimensional representation of planetary orbits using actual data such as gravitational force, which require me to plug in values like the weight of the entire planet in kilograms, and the distance between the planets squared. This results in huge enormous numbers like 5.972x10^24.
Does anyone know how I should handle such large numbers? Trying to use int or float, of course, is out of the question.
Does anyone know how I should handle such large numbers? Trying to use int or float, of course, is out of the question.