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

What is floating point number in swift?

0 Answers  


What is property observer in swift?

0 Answers  


What language is swift most similar to?

0 Answers  


How long does it take to learn swift?

0 Answers  


How to call objective-c code from swift?

0 Answers  






What is swift module?

0 Answers  


What is a swift class?

0 Answers  


How do I add a header in swift?

0 Answers  


What is ios swift?

0 Answers  


How does a swift transfer work?

0 Answers  


What is difference between class and struct swift?

0 Answers  


Is swift faster than java?

0 Answers  


Categories