Jump to content

Search the Community

Showing results for tags 'isint'.

  • 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 2 results

  1. Eg 1: Global $exString = '1100' ConsoleWrite("StringIsDigit(" & $exString & ")=" & StringIsDigit($exString) & @CRLF) ConsoleWrite("IsInt(" & $exString & ")=" & IsInt($exString) & @CRLF) ConsoleWrite("IsNumber(" & $exString & ")=" & IsNumber($exString) & @CRLF) MsgBox(0, "Is Numerical ?","StringIsDigit(" & $exString & ")=" & StringIsDigit($exString) & @CRLF & "IsInt(" & $exString & ")=" & IsInt($exString) & @CRLF & "IsNumber(" & $exString & ")=" & IsNumber($exString)) EG2: if treat variable as number it works but value is not correct because i am checking input data is numeric or string: ;Global $exString = 'xx1100' Global $exString = '1100xx' $exString = Number($exString) ConsoleWrite("StringIsDigit(" & $exString & ")=" & StringIsDigit($exString) & @CRLF) ConsoleWrite("IsInt(" & $exString & ")=" & IsInt($exString) & @CRLF) ConsoleWrite("IsNumber(" & $exString & ")=" & IsNumber($exString) & @CRLF) MsgBox(0, "Is Numerical ?","StringIsDigit(" & $exString & ")=" & StringIsDigit($exString) & @CRLF & "IsInt(" & $exString & ")=" & IsInt($exString) & @CRLF & "IsNumber(" & $exString & ")=" & IsNumber($exString))
  2. Shouldn't this return 1? Local $v = (24.60 * 1.3) / 1.23 MsgBox(0,"",IsInt($v)) This returns 1. Local $v = 31.98 / 1.23 MsgBox(0,"",IsInt($v))
×
×
  • Create New...