Command inputfloat

The command inputfloat is used to allow the entry of a decimal value (for example 1.99).

Parameters

  1. line [integer]
    Line where the message appears.
  2. column [integer]
    Column where the message appears.
  3. message [string]
    Custom message to be displayed.
  4. variable [integer]
    Variable that will store the return of the command.

Example


In the example above, the string variable sNumber will store the float value entered by the user. The value is then displayed through the command display.