# `readFloat`

*Function*

## Declaration

```swift
func readFloat(_ line: UnsafePointer<CChar>!, _ pos: UnsafeMutablePointer<UInt>!) -> CGFloat
```

```objc
CGFloat readFloat(const char *line, NSUInteger *pos);
```

```python
readFloat(line: str, pos: int) -> float
```

## See Also

### Values

- [`String2Float`](/Core/GlyphsCore/String2Float)
- [`readInt`](/Core/GlyphsCore/readInt)
- [`readHex`](/Core/GlyphsCore/readHex)
- [`readFloatList`](/Core/GlyphsCore/readFloatList)
- [`readIntList`](/Core/GlyphsCore/readIntList)
- [`readPoint`](/Core/GlyphsCore/readPoint)
- [`readColor`](/Core/GlyphsCore/readColor)
- [`readDate`](/Core/GlyphsCore/readDate)
- [`dateFromString`](/Core/GlyphsCore/dateFromString)
- [`readTransformation`](/Core/GlyphsCore/readTransformation)

