You are here: Symbol Reference > Stimulsoft.Report Namespace > Func Class > Func Classes > Ru Class > Ru Methods > Decline Method > Decline Method (double, string, bool)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Func.Ru.Decline Method (double, string, bool)

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

Syntax
C++
C#
Visual Basic
public: string Decline( double value, string currency, bool cents );
Parameters
Parameters 
Description 
value 
A value containing a currency on which the resulting value depends. 
currency 
The name of the currency(RUR, EUR, USD, UAH). 
cents 
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. 
Returns

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

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.