Garry's Mod Wiki

Revision Difference

DNumberScratch:SetDecimals#550465

<function name="SetDecimals" parent="DNumberScratch" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the desired amount of numbers after the decimal point.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="decimals" type="number">0 for whole numbers only, 1 for one number after the decimal point, etc.</arg> </args> </function>