Skip to content

Commit

Permalink
Merge pull request #699 from TheMhv/master
Browse files Browse the repository at this point in the history
Fix a markdown in native numbers doc file
  • Loading branch information
developedby authored Aug 28, 2024
2 parents 8246a50 + d3792d1 commit 2446f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/native-numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Positive numbers _must_ be written with a `+` sign, otherwise they'll be interpr

Numbers can also be written in binary or hexadecimal form. Underscores can be optionally used as digit separators to make large numbers more readable.

````rs
```rs
decimal = 1194684
binary = 0b100_100_011_101_010_111_100
hexadecimal = 0x123_abc
hex_signed = -0xbeef

```

### F24

Expand All @@ -45,7 +45,7 @@ pi = +3.1415926535897932384626433 # Will get rounded to 24bit float
a_millionth = 0.000001
zero = 0.0
minus_zero = -0.0
````
```

### Mixing number types

Expand Down

0 comments on commit 2446f3c

Please sign in to comment.