Google News
logo
Swift - Quiz(MCQ)
Numbers with decimal values or fractional components are called?
A)
integer number
B)
floating numbers
C)
decimal number
D)
All of the above

Correct Answer :   floating numbers


Explanation : Numbers with decimal values or fractional components are called floating numbers. For example: 1.34 is a floating point number. Floating point types can represent a wider range of values than integer types.

Advertisement