I have 53.025709438664 in string when I do [string_variable doubleValue], I get 53.025709.
I use NSLog(@"%f") to print it.
How I can get full precision value ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please have a look at the format specifiers provided in Apple doc.
You cannot get all the digits after decimal point.
Edit:
If you know exact number of digits after decimal, then we could use something as follows