Function dollarsToPennies

  • Convert dollars to pennies

    import { dollarsToPennies } from 'helping_hand'
    const pennies = dollarsToPennies(...);

    Parameters

    • amount: string

    Returns number