Icon View Incident Report

Serious Serious
Reported By: Richard Harding
Reported On: 10/30/2021
For: Version 3.01 Build 4
# 4866 StrToInt and StrToDouble Not Rejecting Strings Containing Alphabetic Characters

The isFloat and isInt functions returns incorrect results.

isInt(‘0a’) = true
isFloat(0.0a’) = true

The example in the documentation, (X := IsInt('10.20'); // X is False), also returns true.


Comments Comments
The issue was the usage of the ParseInt and ParseFloat JavaScript functions, which simply stop parsing when encountering an alphabetic character instead of returning a NaN (not a number) result that can be detected.


Resolution Resolution
Fixed Problem on 12/1/2021 in version 3.02 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image