Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz authored Jun 30, 2022
1 parent f7b5412 commit 053e7df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ Templates also support integer to string conversion, so that input fields can be

The integer to string conversion even allows printing integers with a fixed number of decimal places, for example:

| expression | `myNumber` value | printed result |
| :-------------------------- | :--------------- | :------------- |
| `uint8 myNumber decimals=2` | `123` | `1.23` |
| `int16 myNumber decimals=3` | `-9` | `-0.009` |
| expression | `myNumber` value | printed result |
| :------------------------------ | :--------------- | :------------- |
| `{{uint8 myNumber decimals=2}}` | `123` | `1.23` |
| `{{int16 myNumber decimals=3}}` | `-9` | `-0.009` |

#### Partials

Expand Down

0 comments on commit 053e7df

Please sign in to comment.