Member group
ToString
Declaring type: Decimal
Module: System
Assembly: System.Runtime.dll
Source file: Decimal.rvn
Overloads / Variants
ToString
func ToString(format: string, culture: Culture) -> string
Source file: Decimal.rvn
Implements Formattable.ToString
Formats G/G0, F, N or C with an explicit culture; unsupported formats fault.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | |
culture |
Culture |
Return value
ToString
func ToString(format: string) -> string
Source file: Decimal.rvn
Formats G/G0, F, N or C with Culture.Current; F/N precision is 0–99.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String |
Return value
ToString
virtual override func ToString() -> string
Source file: Decimal.rvn
Overrides Object.ToString
Formats invariant general decimal text, preserving the stored scale.