ParseNumber has no default radix

Description

In the documentation "radix" is optional, but for any number < 0 it will throw an error.

echo(ParseNumber(0.5));

Activity

Show:
Pothys - MitrahSoft
June 24, 2020, 7:46 PM

I've checked this ticket. The issue has confirmed. So, I've added a fix for the issue.

Pull request: https://github.com/lucee/Lucee/pull/971

Michael Offner
September 1, 2020, 12:23 AM

Michael Offner
September 1, 2020, 12:24 AM

please test the build and report back here

Zac Spitzer
September 1, 2020, 12:39 AM

fixes a minor typo in the exception

Pothys - MitrahSoft
September 1, 2020, 1:15 AM

I've checked this issue with fixed version. It works fine.

Fixed

Assignee

Michael Offner

Reporter

Axel Bons

Labels

None

Sprint

5.3.8 Sprint 3

Fix versions

Priority

New