Command inputmoney

The command inputmoney is used to enter monetary values. The separators are automatically added, eliminating the need for the user to type a dot or a comma.


  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.


In the example above the command inputinteger captures an integer number entered by the user. The entered value will be stored without formatting, and then the value is converted to stringvariable through the command inttostring, and after that the value is displayed on the display.