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

Returns the correct noun declension.

Syntax
C++
C#
Visual Basic
public: string Decline( long value, bool showCents, string dollars, string cents );
Parameters
Parameters 
Description 
value 
A value containing a currency on which the resulting value depends. 
showCents 
If showCents is true then the resulting string will be "cent" or "cents". If showCents is false resulting string will be "dollar" or "dollars". 
dollars 
A string in format "dollar/dollars" ("pound/pounds"), etc. 
cents 
If parameter is true then cents of the value will be added to the resulting string. 
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.