Modify

Opened 11 years ago

Closed 5 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 by jchd18, 6 years ago

Type: Feature RequestBug
Version: 3.3.15.1

comment:2 by J-Paul Mesnage, 6 years ago

I did a fix I propose it to Jon

comment:3 by J-Paul Mesnage, 6 years ago

Owner: set to Jon
Status: newassigned

comment:4 by J-Paul Mesnage, 6 years ago

Owner: changed from Jon to J-Paul Mesnage

comment:5 by Jon, 5 years ago

Milestone: 3.3.15.4
Owner: changed from J-Paul Mesnage 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.