Skip to content

Invariants.ToInvariant method (1 of 4)

Converts value to string using invariant culture.

public static string ToInvariant(this decimal value)
parameter description
value The value.

Return Value

Converted string.

See Also


Invariants.ToInvariant method (2 of 4)

Converts value to string using invariant culture.

public static string ToInvariant(this double value)
parameter description
value The value.

Return Value

Converted string.

See Also


Invariants.ToInvariant method (3 of 4)

Converts value to string using invariant culture.

public static string ToInvariant(this int value)
parameter description
value The value.

Return Value

The value converted to a string using the invariant culture.

See Also


Invariants.ToInvariant method (4 of 4)

Converts value to string using invariant culture.

public static string ToInvariant(this long value)
parameter description
value The value.

Return Value

Converted string.

See Also