Skip to content

Commit

Permalink
template doesn't like capital C#
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Nov 14, 2023
1 parent 83ff89b commit b0db48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2023/2023-11-09-decimals-are-weird.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ I've discovered another odd consequence of what is probably fully intentional co

Okay, that's not strictly true, but it does seem so if you're comparing the values in JSON.

```C#
```c#
var a = 4m;
var b = 4.0m;

Expand Down Expand Up @@ -59,7 +59,7 @@ When I built the extension method, I already had one for `JsonElement`. (It han

This has an interesting nuance to the problem in that if the `JsonNode`s are parsed:

```C#
```c#
var jsonA = JsonNode.Parse("4");
var jsonB = JsonNode.Parse("4.0");

Expand Down

0 comments on commit b0db48a

Please sign in to comment.