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

Is ios written in swift?

0 Answers  


What is optional chaining?

0 Answers  


Does swift have header files?

0 Answers  


How can we define a base class in swift?

0 Answers  


How can you add table view?

0 Answers  






What is static function in swift?

0 Answers  


Explain grand central dispatch (gdc).

0 Answers  


Is swift similar to python?

0 Answers  


Is swift easier than java?

0 Answers  


Explain the adapter and memento pattern?

0 Answers  


Why swift is faster?

0 Answers  


What is the benefit of using guard statement in swift?

0 Answers  


Categories