---
title: floatValue
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlsendablefeaturevalue/floatvalue
---

# floatValue

The single-precision floating-point value, if the contained value is a float.

## Declaration

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

## See Also

### Accessing the values

- [doubleValue](coreml/mlsendablefeaturevalue/doublevalue.md)
- [float16Value](coreml/mlsendablefeaturevalue/float16value.md)
- [integerDictionaryValue](coreml/mlsendablefeaturevalue/integerdictionaryvalue.md)
- [integerValue](coreml/mlsendablefeaturevalue/integervalue.md)
- [isScalar](coreml/mlsendablefeaturevalue/isscalar.md)
- [isShapedArray](coreml/mlsendablefeaturevalue/isshapedarray.md)
- [isUndefined](coreml/mlsendablefeaturevalue/isundefined.md)
- [stringArrayValue](coreml/mlsendablefeaturevalue/stringarrayvalue.md)
- [stringDictionaryValue](coreml/mlsendablefeaturevalue/stringdictionaryvalue.md)
- [stringValue](coreml/mlsendablefeaturevalue/stringvalue.md)
- [type](coreml/mlsendablefeaturevalue/type.md)
