Garry's Mod Wiki

DTextEntry:GetFloat

  number DTextEntry:GetFloat()

Description

Returns the contents of the DTextEntry as a number.

Returns

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