System::Decimal::ToString method

Decimal::ToString() const method

Returns the string representation of the value represented by the object.

String System::Decimal::ToString() const

See Also

Decimal::ToString(const SharedPtr<IFormatProvider>&) const method

Converts current object to string using the culture-specific format information.

String System::Decimal::ToString(const SharedPtr<IFormatProvider> &provider) const
ParameterTypeDescription
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

ReturnValue

The string representation of the current object.

See Also

Decimal::ToString(const SharedPtr<Globalization::CultureInfo>&) const method

String System::Decimal::ToString(const SharedPtr<Globalization::CultureInfo> &culture) const

See Also

Decimal::ToString(const SharedPtr<Globalization::NumberFormatInfo>&) const method

String System::Decimal::ToString(const SharedPtr<Globalization::NumberFormatInfo> &nfi) const

See Also

Decimal::ToString(const Decimal&, std::nullptr_t) const method

String System::Decimal::ToString(const Decimal &value, std::nullptr_t) const

See Also

Decimal::ToString(const String&, const SharedPtr<IFormatProvider>&) const method

Converts current object to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

String System::Decimal::ToString(const String &format, const SharedPtr<IFormatProvider> &provider) const
ParameterTypeDescription
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

ReturnValue

The string representation of the current object.

See Also

Decimal::ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) const method

String System::Decimal::ToString(const String &format, const SharedPtr<Globalization::CultureInfo> &culture) const

See Also

Decimal::ToString(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) const method

String System::Decimal::ToString(const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi) const

See Also

Decimal::ToString(const String&, std::nullptr_t) const method

String System::Decimal::ToString(const String &format, std::nullptr_t=nullptr) const

See Also