from future import division
To perform a division in which I need some percision. However, it gives a long number, like:
1.876543820098765
I only need the the first two numbers after “.” => 1.87
How can I do that?
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.
As you said you don’t want a rounded number, you might want to try