I have an xml file which has many numbers which are formatted incorrectly in scientific format – e.g 0.000004 is formatted as 4e-006.
Can anyone suggest a good way to change the format of these numbers ? I am parsing the file into xCode, however would prefer to change the xml if possible.
Thank you !
There is actually no need to change the XML itself, just use
NSDecimalNumber:[NSDecimalNumber decimalNumberWithString:@"4e-006"]