I have an EditText where the user enters a number.
Is there a way of setting the significant figures?
So it would automatically change "003645" to "365" at 3.s.f.
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.
Like this:
This will produce
1000for input001000and3significant numbers. If it should produce100for the same input and significant amount of numbers you need to use greater or equals in thewhilecondition.