Jump to content

Search the Community

Showing results for tags 'edit formatting'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi, I have a small gui with an edit box and a few buttons, the buttons are '0.2' '0.5' & '1'. So when I click 0.2 it will display 0.2 in the edit box, if I click it again it will add another 0.2 and display 0.4 in the edit box etc. This is working fine, here is my main function so you can see... Func _Function() $ReadEnteredControl = GuiCtrlRead($INPUT_ENTERED) $Add20toEntered = ($ReadEnteredControl +"0.20") GUICtrlSetData($INPUT_ENTERED, $Add20toEntered) EndFunc where $INPUT_ENTERED is the variable name of my edit box. This works fine but how can I format the edit box to display 0.20 (so 2 decimal places instead of 1) as at the moment it only shows 1 digit after the . Thanks
×
×
  • Create New...