Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 12
Render Body 0
Render Sidebar 6