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 optional chaining?
How to create a tuple in swift?
How you define variables in swift?
What is type aliasing in swift?
Is swift a good language?
What is tuple? How to create a tuple in swift?
How you define variables in swift language?
Which compiler is used in swift?
Mention what are the type of integers does Swift have?
How to post an http request with a json body in swift?
What is string in swift?
What is atomic swift?