util.NiceFloat

From Garry's Mod
Jump to: navigation, search
 util.NiceFloat( )

Description

Formats a float by stripping off extra 0's and .'s

Arguments

number float

The float to format

Returns

string

Formatted float
Personal tools
Navigation