Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (12.7k points)
Are there any data types, which have better precision than float?

1 Answer

0 votes
by (26.4k points)

From this documentation of Decimal datatype:

  • Unlike hardware based binary floating point, the decimal module has a user alterable precision (defaulting to 28 places) which can be as large as needed for a given problem.

In the event that you are pressed by execution issues, view GMPY 

Are you interested to learn the concepts of Python? Join the python course to acquire more knowledge in Python

Watch this video tutorial on how to become a professional in python

Related questions

Browse Categories