Util.FormatMoney
Skip to content
mnscript
string Util.FormatMoney(number) 

Description ​

Returns a formatted string for money

Arguments ​

number - The number to format

Returns ​

string - The formatted string

Example ​

msc
using DarkRP;

// Converts the number 100000 to the string "£100,000"

string formattedMoney = DarkRP.FormatMoney(100000);