Garry's Mod Wiki

DNumberScratch:SetDecimals

  DNumberScratch:SetDecimals( number decimals )

Description

Sets the desired amount of numbers after the decimal point.

Arguments

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