Click or drag to resize

FuncUaCurrToStr Method (Decimal, String, Boolean)

Converts the specified value to its equivalent string representation.

Namespace:  Stimulsoft.Report
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static string CurrToStr(
	decimal value,
	string currency,
	bool cents
)

Parameters

value
Type: SystemDecimal
A value containing a currency to convert.
currency
Type: SystemString
The name of the currency(RUR, EUR, USD, UAH).
cents
Type: SystemBoolean
If this parameter is true then cents of the value will be added to the resulting string.

Return Value

Type: String
Returns the string representation of the decimal value with or without cents and the currency name.
See Also