Click or drag to resize

FuncRuDecline Method (Int64, String, Boolean)

Returns the correct declension of names of roubles or kopecs of the currency.

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

Parameters

value
Type: SystemInt64
A value containing a currency on which the resulting value depends.
currency
Type: SystemString
The name of the currency(RUR, EUR, USD, UAH).
cents
Type: SystemBoolean
If this parameter is true then the result of the function is the name of cents in correct declension. If this parameter is false then the result of the function is the name of dollars in correct declension. Depends on the currency parameter.

Return Value

Type: String
Returns the corect declension of roubles or kopecs names of the currency.
See Also