Methods
Static currToStr
- currToStr(value: number, uppercase?: boolean, currency?: string, cents?: boolean): string
-
Parameters
-
value: number
-
Default value uppercase: boolean = true
-
Default value currency: string = "UAH"
-
Default value cents: boolean = true
Returns string
Static dateToStr
- dateToStr(date: DateTime, uppercase?: boolean): string
-
Parameters
-
-
Default value uppercase: boolean = false
Returns string
Static decline
- decline(value: number, currency: string, cents?: boolean): string
-
Parameters
-
value: number
-
currency: string
-
Default value cents: boolean = false
Returns string
Static decline2
- decline2(value: number, one: string, two: string, five: string): string
-
Parameters
-
value: number
-
one: string
-
two: string
-
five: string
Returns string
Static numToStr
- numToStr(value: number, uppercase?: boolean, gender?: Gender): string
-
Parameters
-
value: number
-
Default value uppercase: boolean = true
-
Default value gender: Gender = Gender.Masculine
Returns string
Static registerCurrency
- registerCurrency(currency: Currency, currencyName: string): void