Garry's Mod Wiki

Revision Difference

DNumSlider:GetDecimals#550495

<function name="GetDecimals" parent="DNumSlider" type="panelfunc"> <ispanel>yes</ispanel> <description>Returns the amount of numbers after the decimal point.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <rets> <ret name="" type="number">0 for whole numbers only, 1 for one number after the decimal point, etc.</ret> </rets> </function>