Garry's Mod Wiki

DTextEntry:GetInt

Description

Similar to DTextEntry:GetFloat, but rounds the value to the nearest integer.

Returns

1 number
Text of the DTextEntry as a round number, or nil if it cannot be converted to a number.