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,
bool uppercase,
bool showCents,
string dollars = "euro/euros",
string cents = "cêntimo/cêntimos"
)
Public Shared Function CurrToStr (
value As Decimal,
uppercase As Boolean,
showCents As Boolean,
Optional dollars As String = "euro/euros",
Optional cents As String = "cêntimo/cêntimos"
) As String
Parameters
- value
- Type: SystemDecimal
A value containing a currency to convert. - uppercase
- Type: SystemBoolean
If this parameter is true then the first symbol of the resulting string will be in the uppercase. - showCents
- Type: SystemBoolean
If this parameter is true then cents of the value will be added to the resulting string. - dollars (Optional)
- Type: SystemString
[Missing <param name="dollars"/> documentation for "M:Stimulsoft.Report.Func.Pt.CurrToStr(System.Decimal,System.Boolean,System.Boolean,System.String,System.String)"]
- cents (Optional)
- Type: SystemString
[Missing <param name="cents"/> documentation for "M:Stimulsoft.Report.Func.Pt.CurrToStr(System.Decimal,System.Boolean,System.Boolean,System.String,System.String)"]
Return Value
Type:
StringReturns the string representation of the decimal value with or without cents with the first symbol in the uppercase or not.
See Also