---
title: floatValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/floatvalue
---

# floatValue

The cell’s value as a single-precision floating-point number.

## Declaration

```swift
var floatValue: Float { get set }
```

## Discussion

Discussion This property uses the objectValue property to access the actual value. If the cell is not a text-type cell or the cell’s value is not scannable, this property contains the value 0.

## See Also

### Managing Cell Values

- [objectValue](appkit/nscell/objectvalue.md)
- [hasValidObjectValue](appkit/nscell/hasvalidobjectvalue.md)
- [intValue](appkit/nscell/intvalue.md)
- [integerValue](appkit/nscell/integervalue.md)
- [stringValue](appkit/nscell/stringvalue.md)
- [doubleValue](appkit/nscell/doublevalue.md)
