Click or drag to resize

FuncRuDecline Method (Decimal, String)

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(
	decimal value,
	string currency
)

Parameters

value
Type: SystemDecimal
A value containing a currency on which the resulting value depends.
currency
Type: SystemString
The name of the currency(RUR, EUR, USD, UAH).

Return Value

Type: String
Returns correct declension of rubles or kopecs of the currency. Depends on the value parameter.
See Also