Modify

Opened 5 years ago

Last modified 9 days ago

#3106 new Bug

StringIsFloat doesn't accept a valid FP exponent

Reported by: jchd18 Owned by:
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 (2)

comment:1 Changed 12 days ago by jchd18

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

comment:2 Changed 9 days ago by Jpm

I did a fix I propose it to Jon

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 new The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.