Mention what is the Floating point numbers and what are the types of floating number in Swift?



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

Post New Answer

More Apple iOS Swift Interview Questions

Explain what is half-open range operator?

0 Answers  


Explain enum in swift.

0 Answers  


What is “defer”?

0 Answers  


What is the meaning of question mark "?" In swift?

0 Answers  


Can you explain any three-shift pattern matching techniques?

0 Answers  


What is thread in swift?

0 Answers  


Explain completion handler?

0 Answers  


What are the characteristics of switch?

0 Answers  


Why is swift important?

0 Answers  


What is clean swift architecture?

0 Answers  


What is subscript in swift?

0 Answers  


Do loops swift?

0 Answers  


Categories