From DarkRP
Jump to navigation Jump to search
Function name DarkRP.formatMoney(number amount)
Format a number as a money value. Includes currency symbol.
Returns: string money
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=]DarkRP.formatMoney[/url][/b]

Function parameters[edit]

  1. amount (number)
  2. The money to format, e.g. 100000.

Function return values[edit]

  1. money (string)
  2. The money as a nice string, e.g. "$100,000".