Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Added treatment of null-values, and fixed incomplete text on IFormattable #301

Merged
merged 1 commit into from
Mar 28, 2018
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
8 changes: 5 additions & 3 deletions docs/conceptual/operators.string[^t]-function-[fsharp].md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ The input value.
The converted string.

## Remarks
For standard integer and floating point values the `System.Object.ToString` conversion uses `System.Globalization.CultureInfo.InvariantCulture`.
This function is null-safe, null values will return `String.Empty`.

This function is named `ToString` in compiled assembly. If you are accessing the function from a language other than F#, or through reflection, use this name.
For standard integer, decimal, floating point and DateTime values, and any other value that implementens `System.IFormattable`, this function calls the `System.IFormattable.ToString` method instead, with the culture set to `System.Globalization.CultureInfo.InvariantCulture`.

This function is named `ToString` in compiled assemblies. If you are accessing the function from a language other than F#, or through reflection, use this name.

## Platforms
Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Windows 10, Windows 8, Windows 7, Windows Server 2016, Windows Server 2012, Windows Server 2008 R2

## Version Information
**F# Core Library Versions**
Expand Down