Modify

Opened 6 years ago

Last modified 9 months ago

#3106 assigned Bug

StringIsFloat doesn't accept a valid FP exponent

Reported by: jchd18 Owned by: Jpm
Milestone: 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 (4)

comment:1 Changed 11 months ago by jchd18

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

comment:2 Changed 10 months ago by Jpm

I did a fix I propose it to Jon

comment:3 Changed 10 months ago by Jpm

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

comment:4 Changed 9 months ago by Jpm

  • Owner changed from Jon to Jpm

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 assigned The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.