Question
what is the value of the variable?
double dNum= 6.23
A. 6
B. 6.0
C. 6.23
D. 0.0
E. error: possible loss of precision
double dNum= 6.23
A. 6
B. 6.0
C. 6.23
D. 0.0
E. error: possible loss of precision
Answers
help please
please help and explain
Steve
I'd say C
E might be considered, but the error in a double-precision value is out at the 14th significant figure, so I'd not consider that much of a loss of precision.
E might be considered, but the error in a double-precision value is out at the 14th significant figure, so I'd not consider that much of a loss of precision.
help please
please help and explain