> For the complete documentation index, see [llms.txt](https://fixed.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fixed.onepub.dev/parsing.md).

# Parsing

The fixed package allows you to parse strings into a Fixed instance:

```dart
Fixed.parse('1.234', scale: 3);  // == 1.234
```

If you don't pass in the scale then Fixed will determine the scale from the no. of decimal places in the string:

```dart
Fixed.parse('1.2345'); // == 1.2345, scale = 4
```
