You are developing a system where precision is critical, and you have to handle very large integers. Which data type would you use to ensure there is no loss of precision?

  • int
  • float
  • bigint
  • double
When handling very large integers with critical precision, you should use the bigint data type. Unlike int and float, bigint can represent arbitrarily large integers without loss of precision. double is a floating-point type, which may not preserve precision for very large integers.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *