i) Float and Double are floating binary point types while decimal is a floating decimal point type.
ii) Precision difference for float is '7' digit for double is '15' to '16' digit and for decimal is '28' to '29' digits.
iii) Some values which cannot be exactly represented hence for those values float and double are more appropriate.
a) i
b) i, iii
c) i, ii, iii
d) ii, iii
Select appropriate difference between decimal, float and double data type in C#?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Select appropriate difference between decimal, float and double data type in C#?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!