I want to add two CGFloat numbers and display them using random numbers, but don't know how to do that.. My code is :
CGFloat latitude = 31.303702;
CGFloat longitude = 75.594905;
and the value I want to add to both cgfloat values is
CGFloat randomValue = 0.000001;
and display them using random numbers. Can anyone help me...
The result will be like 31.303703
& 75.594906
.
Note: The value of latitude and longitude is dynamic and its coming from an array.