what is the value of the valuable double dNum=5

A. 5
B. 5.0
C. 0
D. 0.0
E. error: possible loss of precision

please help and explain

1 answer

Looks like B to me.
Actually, it's good to 14 decimal significant figures, but 5.0 is good enough.