Garry's Mod Wiki

util.NiceFloat

util.NiceFloat

  string util.NiceFloat( number float )

Description

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

Arguments

1 number float
The float to format.

Returns

1 string
Formatted float.

Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 49
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 9