Modify

Opened 9 years ago

Closed 3 years ago

#3106 closed Bug (Fixed)

StringIsFloat doesn't accept a valid FP exponent

Reported by: jchd18 Owned by: Jon
Milestone: 3.3.15.4 Component: AutoIt
Version: 3.3.15.1 Severity: None
Keywords: Cc:

Description

StringIsFloat doesn't accept a float exponent in the string:

Local $s = "-1.35e-4"
ConsoleWrite("StringIsFloat -> " & StringIsFloat($s) & ",  IsFloat -> " & IsFloat($s) & ",   Number -> " & Number($s) & @LF)

This is rather an oddity that deserve fixing than a feature request.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by jchd18

  • Type changed from Feature Request to Bug
  • Version set to 3.3.15.1

comment:2 Changed 4 years ago by Jpm

I did a fix I propose it to Jon

comment:3 Changed 4 years ago by Jpm

  • Owner set to Jon
  • Status changed from new to assigned

comment:4 Changed 4 years ago by Jpm

  • Owner changed from Jon to Jpm

comment:5 Changed 3 years ago by Jon

  • Milestone set to 3.3.15.4
  • Owner changed from Jpm to Jon
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12546] in version: 3.3.15.4

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.