Mention what is the Floating point numbers and what are the types of floating number in Swift?
Answer / 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 |
What is nsrange in swift?
How do you implement delegates in swift?
What is the use of continue statement in swift loop?
What is swiftnet?
What is instance variable in swift?
In swift, what type of object are basic data types?
What is a function in swift?
What are the different ways to pass data in swift?
What are lazy stored properties, and how are they useful?
What is the synonym of swift?
What type of objects are basic data types in swift?
How does closure work in swift?