<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/data-entry-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Data Entry Types"
}
-->

# Data Entry Types

These constants specify how a cell formats numeric data.

## Discussion

These constants are used by [`setEntryType:`](/documentation/AppKit/NSCell/setEntryType:) and [`entryType`](/documentation/AppKit/NSCell/entryType).

## Topics

### Constants

[`NSIntType`](/documentation/AppKit/NSIntType)

Must be between `INT_MIN` and `INT_MAX`.

[`NSPositiveIntType`](/documentation/AppKit/NSPositiveIntType)

Must be between 1 and `INT_MAX`.

[`NSFloatType`](/documentation/AppKit/NSFloatType)

Must be between `–FLT_MAX` and `FLT_MAX`.

[`NSPositiveFloatType`](/documentation/AppKit/NSPositiveFloatType)

Must be between `FLT_MIN` and `FLT_MAX`.

[`NSDoubleType`](/documentation/AppKit/NSDoubleType)

Must be between `–FLT_MAX` and `FLT_MAX`.

[`NSPositiveDoubleType`](/documentation/AppKit/NSPositiveDoubleType)

Must be between `FLT_MIN` and `FLT_MAX`.

[`NSAnyType`](/documentation/AppKit/NSAnyType)

Any value is allowed.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)