Garry's Mod Wiki

DNumberScratch:GetDecimals

  number DNumberScratch:GetDecimals()

Description

Returns the desired amount of numbers after the decimal point.

Returns

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