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

# scanDouble(representation:)

## Declaration

```swift
func scanDouble(representation: Scanner.NumberRepresentation = .decimal) -> Double?
```
