---
title: "valueWithNumber:"
framework: accessibility
role: symbol
role_heading: Type Method
path: "accessibility/axdatapointvalue/valuewithnumber:"
---

# valueWithNumber:

Creates a numeric data value with the specified number.

## Declaration

```occ
+ (instancetype) valueWithNumber:(double) number;
```

## See Also

### Creating a numeric value

- [number](accessibility/axdatapointvalue/number.md)
