---
title: argumentNumberValue
framework: OSLog
role: symbol
role_heading: Instance Property
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 10.15+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: oslog/oslogmessagecomponent/argumentnumbervalue
---

# argumentNumberValue

The argument formatted as a number.

## Declaration

```swift
var argumentNumberValue: NSNumber? { get }
```

## Discussion

Discussion The argumentNumberValue property can be nil if the argument can’t be decoded. For example, redacted arguments and the last component can’t be decoded.

## See Also

### Accessing the Argument

- [argumentDataValue](oslog/oslogmessagecomponent/argumentdatavalue.md)
- [argumentDoubleValue](oslog/oslogmessagecomponent/argumentdoublevalue.md)
- [argumentInt64Value](oslog/oslogmessagecomponent/argumentint64value.md)
- [argumentStringValue](oslog/oslogmessagecomponent/argumentstringvalue.md)
- [argumentUInt64Value](oslog/oslogmessagecomponent/argumentuint64value.md)
