Garry's Mod Wiki

Revision Difference

DNumberScratch:GetDecimals#553876

<function name="GetDecimals" parent="DNumberScratch" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Returns the desired amount of numbers after the decimal point.</description> <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>