Which data type should you use?

You are creating the necessary variables for an application. The data you will store in these
variables has the following characteristics:
Consists of numbers
Includes numbers that have decimal points
Requires more than seven digits of precision
You need to use a data type that will minimize the amount of memory that is used.
Which data type should you use?

You are creating the necessary variables for an application. The data you will store in these
variables has the following characteristics:
Consists of numbers
Includes numbers that have decimal points
Requires more than seven digits of precision
You need to use a data type that will minimize the amount of memory that is used.
Which data type should you use?

A.
Decimal

B.
Single

C.
Byte

D.
Double

Explanation:
The double keyword signifies a simple type that stores 64-bit floating-point values.
Precision: 15-16 digits



Leave a Reply 0

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