98-361 · Question #47
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…
The correct answer is B. double. The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits Not D: The float keyword signifies a simple type that stores 32-bit floating-point values. Precision: 7 digits
Question
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?
Options
- Adecimal
- Bdouble
- Cbyte
- Dfloat
How the community answered
(31 responses)- A3% (1)
- B77% (24)
- C13% (4)
- D6% (2)
Explanation
The double keyword signifies a simple type that stores 64-bit floating-point values. Precision: 15-16 digits Not D: The float keyword signifies a simple type that stores 32-bit floating-point values. Precision: 7 digits
Topics
Community Discussion
No community discussion yet for this question.