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

API Browser

Member group

ToString

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

Overloads / Variants

ToString

func ToString() -> string

Source file: Int32.rvn

Returns the value or active error case name for display.

Return value

String

ToString

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

Source file: Int32.rvn

Implements Formattable.ToString

Formats with explicit culture. D pads integer digits; F adds fractional zeros; N also groups. Unsupported specifiers or precision fault. Parsing remains invariant.

Parameters

Name Type Description
format String
culture Culture

Return value

String

ToString

func ToString(format: string) -> string

Source file: Int32.rvn

Formats with the current culture. Supports empty/G/G0, D, F and N; D/F/N precision is 0–99.

Parameters

Name Type Description
format String

Return value

String