> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/f/formatted_numeric_output.md).

# Formatted numeric output

```ruby
printf("%09.3f\n", 7.125)
```

or

```ruby
say ("%09.3f" % 7.125)
```

#### Output:

```
00007.125
```
