C# Class MoneyToStr, moneytostr

Show file Open project: javadev/moneytostr-russian Class Usage Examples

Public Methods

Method Description
MoneyToStr ( string currency, string language, string pennies ) : System
convert ( long theMoney, long theKopeiki ) : string
convertValue ( double theMoney ) : string
percentToStr ( double amount, string lang ) : string

Private Methods

Method Description
check1 ( long triad, StringBuilder triadWord ) : long
check2 ( long triadNum, string sex, StringBuilder triadWord, long triad, long range10 ) : void
concat ( string first, string second ) : string[]
triad2Word ( long triad, long triadNum, string sex ) : string

Method Details

MoneyToStr() public method

public MoneyToStr ( string currency, string language, string pennies ) : System
currency string
language string
pennies string
return System

convert() public method

public convert ( long theMoney, long theKopeiki ) : string
theMoney long
theKopeiki long
return string

convertValue() public method

public convertValue ( double theMoney ) : string
theMoney double
return string

percentToStr() public static method

public static percentToStr ( double amount, string lang ) : string
amount double
lang string
return string