Hierarchy

  • Ru

Index

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 = "RUR"
    • Default value cents: boolean = true

    Returns string

Static dateToStr

  • dateToStr(date: DateTime, uppercase?: boolean): string
  • Parameters

    • date: DateTime
    • 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
  • Parameters

    • currency: Currency
    • currencyName: string

    Returns void

Generated using TypeDoc