Garry's Mod Wiki

Revision Difference

DTextEntry:GetInt#550640

<function name="GetInt" parent="DTextEntry" type="panelfunc"> <ispanel>yes</ispanel> <description>Similar to <page>DTextEntry:GetFloat</page>, but rounds the value to the nearest integer.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <rets> <ret name="" type="number">Text of the DTextEntry as a round number, or nil if it cannot be converted to a number.</ret> </rets> </function>