Part of StarfallEx namespace
๐ External
darkrp.formatMoney(n)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Format a number as a money value. Includes currency symbol.
Parameters
| Name | Type | Description |
|---|---|---|
amount | number | The money to format, e.g. 100000. |
Returns
| Type | Description |
|---|---|
string | The money as a nice string, e.g. "$100,000". |
Examples
No examples available.
Used In
No usages found in the codebase.