Click or drag to resize

FuncEnCurrToStr Method (Int64, Boolean, Boolean, String, String)

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(
	long value,
	bool uppercase,
	bool showCents,
	string dollars,
	string cents
)

Parameters

value
Type: SystemInt64
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
Type: SystemString
A string in format "dollar/dollars" ("pound/pounds"), etc.
cents
Type: SystemString
A string in format "cent/cents" ("penny/pence"), etc.

Return Value

Type: String
Returns the string representation of the long value with or without cents with the first symbol in the uppercase or not. Names of cents and dollars of the currency is to be specified in the dollars and cents parameters.
See Also