---
title: "takeFloatValueFrom(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscell/takefloatvaluefrom(_:)"
---

# takeFloatValueFrom(_:)

Sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object.

## Declaration

```swift
func takeFloatValueFrom(_ sender: Any?)
```

## Parameters

- `sender`: The object from which to take the value. This object must implement the doc://com.apple.appkit/documentation/AppKit/NSCell/floatValue property.

## See Also

### Related Documentation

- [floatValue](appkit/nscell/floatvalue.md)

### Deriving Values

- [takeObjectValueFrom(_:)](appkit/nscell/takeobjectvaluefrom(_:).md)
- [takeIntegerValueFrom(_:)](appkit/nscell/takeintegervaluefrom(_:).md)
- [takeIntValueFrom(_:)](appkit/nscell/takeintvaluefrom(_:).md)
- [takeStringValueFrom(_:)](appkit/nscell/takestringvaluefrom(_:).md)
- [takeDoubleValueFrom(_:)](appkit/nscell/takedoublevaluefrom(_:).md)
