Garry's Mod Wiki

DNumSlider:GetDecimals

  number DNumSlider:GetDecimals()

Description

Returns the amount of numbers after the decimal point.

Returns

1 number
0 for whole numbers only, 1 for one number after the decimal point, etc.