Skip to content

Commit

Permalink
Semicolon is a good idea for codesamples
Browse files Browse the repository at this point in the history
  • Loading branch information
martinothamar committed Jun 11, 2024
1 parent 96e1e27 commit d92f41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/app/development/data/data-modeling/_index.nb.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Hvis du bruker _decimal_ for å kalkulere verdien til en _decimal_ property så
desimaler forsvinner innen tallet er deserialisert i JS. Isåfall vil ikke verdien kunne oppdateres fra frontenden.
Hvis du kalkulerer verdier med _decimal_ presisjon bør du sørge for at sluttresultatet passer inn i `double`/64bit presisjon. Eksempel:
```csharp
dataModel.Result = (decimal)(double)(3.33m / 3.333m)
dataModel.Result = (decimal)(double)(3.33m / 3.333m);
```
I fremtiden vil vi forbedre datamodell-generatoren for å unngå dette.
{{% /notice %}}
Expand Down

0 comments on commit d92f41c

Please sign in to comment.