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
What is dynamic member lookup swift?
How do I add a bridging header in swift?
Is swift coding easy?
How to make a method or variable generics in swift?
What is use of enum in swift?
What is floating point number in swift?
What is the use of double question mark “??” In swift?
How to declare an empty dictionary in swift?
What are the different floating point numbers in swift?
Explain some design patterns which we normally use during the app development.
What is string in swift?
What is interface in swift?
What are the control transfer statements used in swift?
How to post an http request with a json body in swift?
What is static function in swift?