Module cityrp.currency

Currency Library

Module Overview

Functions

cityrp.currency.format(amount) Formats a number into a currency string

Functions

cityrp.currency.format(amount)
Formats a number into a currency string

Parameters:

  • amount number The numeric value to format

Returns:

    string A formatted currency string