<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/doubleValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCell(py)doubleValue"
  },
  "title" : "doubleValue"
}
-->

# doubleValue

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

```
var doubleValue: Double { get set }
```

## Discussion

This property uses the [`objectValue`](/documentation/AppKit/NSCell/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`.

---

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)