Modify

#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 by jchd18, on Jun 27, 2020 at 1:31:12 PM

Type: Feature RequestBug
Version: 3.3.15.1

comment:2 by Jpm, on Jun 30, 2020 at 11:35:25 AM

I did a fix I propose it to Jon

comment:3 by Jpm, on Jul 17, 2020 at 1:37:37 PM

Owner: set to Jon
Status: newassigned

comment:4 by Jpm, on Aug 10, 2020 at 12:34:00 PM

Owner: changed from Jon to Jpm

comment:5 by Jon, on Jun 11, 2021 at 12:53:57 PM

Milestone: 3.3.15.4
Owner: changed from Jpm to Jon
Resolution: Fixed
Status: assignedclosed

Fixed by revision [12546] in version: 3.3.15.4

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.