---
title: float
framework: coredata
role: symbol
role_heading: Type Property
path: coredata/nsattributedescription/attributetype-swift.struct/float
---

# float

An attribute that stores a float value.

## Declaration

```swift
static let float: NSAttributeDescription.AttributeType
```

## See Also

### Attribute Types

- [binaryData](coredata/nsattributedescription/attributetype-swift.struct/binarydata.md)
- [boolean](coredata/nsattributedescription/attributetype-swift.struct/boolean.md)
- [composite](coredata/nsattributedescription/attributetype-swift.struct/composite.md)
- [date](coredata/nsattributedescription/attributetype-swift.struct/date.md)
- [decimal](coredata/nsattributedescription/attributetype-swift.struct/decimal.md)
- [double](coredata/nsattributedescription/attributetype-swift.struct/double.md)
- [integer16](coredata/nsattributedescription/attributetype-swift.struct/integer16.md)
- [integer32](coredata/nsattributedescription/attributetype-swift.struct/integer32.md)
- [integer64](coredata/nsattributedescription/attributetype-swift.struct/integer64.md)
- [objectID](coredata/nsattributedescription/attributetype-swift.struct/objectid.md)
- [string](coredata/nsattributedescription/attributetype-swift.struct/string.md)
- [transformable](coredata/nsattributedescription/attributetype-swift.struct/transformable.md)
- [undefined](coredata/nsattributedescription/attributetype-swift.struct/undefined.md)
- [uri](coredata/nsattributedescription/attributetype-swift.struct/uri.md)
- [uuid](coredata/nsattributedescription/attributetype-swift.struct/uuid.md)
