mercredi 15 juin 2016

Big double value Calculation yield 1e+ as Result - iPhone


I am trying to Multiply two big double values as follows.

long double lastKnownValue;

and for eg: when i multiply two values like 1000 x 1000,i am expecting result as 1000000. But it gives Result as 1e+06.

How can make the result as 1000000?; for small numbers it works perfect.

enter image description here


Aucun commentaire:

Enregistrer un commentaire