Tag: floating point
-
Floating Point Literals in Swift
Floating point literals can be of decimal or hexadecimal type. They must always have a number on both sides of decimal point. Example: var decimalFloat = 1.23 var hexadecimalFloat = 0xE.45