---
title: "scanInt32(representation:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/scanner/scanint32(representation:)"
---

# scanInt32(representation:)

## Declaration

```swift
func scanInt32(representation: Scanner.NumberRepresentation = .decimal) -> Int32?
```
