FuncUaDecline Method (Decimal, 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(
decimal value,
string currency,
bool cents
)
Public Shared Function Decline (
value As Decimal,
currency As String,
cents As Boolean
) As String
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). - 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:
StringReturns the correct declention of roubles or kopecs names of the currency.
See Also