Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/fsharp/language-reference/nullable-value-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ You can also use an appropriate non-nullable operator to convert to a primitive
open System
open FSharp.Linq

let nullableInt = Nullable 10
let nullableFloat = Nullable.float nullableInt
let nullableFloat = Nullable 10.0
let standardFloat = float nullableFloat

printfn $"value is %f{float nullableFloat}"
printfn $"value is %f{float standardFloat}"
```

You can also use nullable operators as a short-hand for checking `HasValue` and `Value`:
Expand Down
Loading