---
title: longLongValue
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsstring/longlongvalue
---

# longLongValue

The long long value of the string.

## Declaration

```swift
var longLongValue: Int64 { get }
```

## Discussion

Discussion The long long value of the string, assuming a decimal representation and skipping whitespace at the beginning of the string. This property is LLONG_MAX or LLONG_MIN on overflow. This property is 0 if the receiver doesn’t begin with a valid decimal text representation of a number. This property uses formatting information stored in the non-localized value; use an Scanner object for localized scanning of numeric values from a string.

## See Also

### Related Documentation

- [scanInt32(_:)](foundation/scanner/scanint32(_:).md)

### Getting Numeric Values

- [doubleValue](foundation/nsstring/doublevalue.md)
- [floatValue](foundation/nsstring/floatvalue.md)
- [intValue](foundation/nsstring/intvalue.md)
- [integerValue](foundation/nsstring/integervalue.md)
- [boolValue](foundation/nsstring/boolvalue.md)
