Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

ToString

Declaring type: Single
Module: System
Assembly: System.Runtime.dll
Source file: Single.rvn

Overloads / Variants

ToString

func ToString() -> string

Source file: Single.rvn

Returns invariant shortest round-trip text, preserving negative zero.

Return value

String

ToString

func ToString(format: string, culture: Culture) -> string

Source file: Single.rvn

Implements Formattable.ToString

Formats with explicit culture. R ignores valid precision; unsupported formats fault.

Parameters

Name Type Description
format String
culture Culture

Return value

String

ToString

func ToString(format: string) -> string

Source file: Single.rvn

Formats with the current culture using G, R, F, N or E; precision is 0–99.

Parameters

Name Type Description
format String

Return value

String