API comma value
From Vendetta Lua
comma_value
Definition:
comma_value(float number) -> string formatted_number
Description:
returns a formatted version of the provided number according to API_Index#SI_unit
Arguments:
number: unformatted number
Returns:
formatted_number formatted number
Example:
assuming SI_unit is 3:
<source lang="lua">comma_value(1000.00) -> "1,000.00"</source>