Hierarchy

  • En

Index

Methods

Static currToStr

  • currToStr(value: number, uppercase?: boolean, showCents?: boolean, dollars?: string, cents?: string): string
  • Parameters

    • value: number
    • Default value uppercase: boolean = true
    • Default value showCents: boolean = true
    • Default value dollars: string = "dollar/dollars"
    • Default value cents: string = "cent/cents"

    Returns string

Static currToStr3

  • currToStr3(value: number, showCents: boolean): string
  • Parameters

    • value: number
    • showCents: boolean

    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, oneOrShowCents: string | boolean, twoOrDollars: string, cents?: string): string
  • Parameters

    • value: number
    • oneOrShowCents: string | boolean
    • twoOrDollars: string
    • Default value cents: string = null

    Returns string

Static numToStr

  • numToStr(value: number, uppercase?: boolean): string
  • Parameters

    • value: number
    • Default value uppercase: boolean = true

    Returns string

Generated using TypeDoc