Mention what is the Floating point numbers and what are the types of floating number in Swift?
Answer Posted / iosraj
Floating numbers are numbers with a fractional component, like 3.25169 and -238.21. Floating point types can represent a wider range of values than integer types. There are two signed floating point number
Double: It represents a 64 bit floating point number, it is used when floating point values must be very large
Float: It represents a 32 bit floating point number, it is used when floating point values does not need 64 bit precision
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is swift a good language?
Which is better car baleno or swift?
What is instance variable in swift?
Do loops swift?
What are properties in swift?
What are the different ways to pass data in swift?
How you define variables in swift language?
What is swift stand for?
How to create a tuple in swift?
What is an attribute in swift?
What is abstract class in swift?
Does swift have header files?
What is swift in ios?
What are delegates swift 4?
What is viewcontroller in swift?