View Issue Details

IDProjectCategoryView StatusLast Update
0028640RunnerVariablesPublic2018-01-11 20:50
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility50%
Status ResolvedResolutionUnable To Reproduce 
Product Version 
Fixed in Version 
Summary0028640: Variables: real(x) function does not work with float point string numbers
DescriptionExample test cases:

TEST 1: FAILED
0.3 == real("0.3") // false
3 == real("0.3") // true

TEST 2: FAILED:
-0.3 == real("-0.3") // false
-3 == real("-0.3") // true

TEST 3: FAILED
real("Hello+0.3") // The games compiles, but does not executes. The IDE does not give any warning nor error.

TEST 4: PASSED
300 == real("3e2") // true (it works fine for scientific notation values)

TEST 5: FAILED
// It does not work with scientific values mixed with other strings
300 == real("aa 3e2") // The games compiles, but does not executes. The IDE does not give any warning nor error.
Steps To Reproduce1) Run the attached project
1.4 Found In
2.x Runtime Found In2.1.3.189
2.x Runtime Verified In2.1.3.189

Activities

Stewart Bishop

2018-01-08 12:21

Adminstrator  

RealFloats.yyz (12,960 bytes)

Russell Kay

2018-01-11 20:50

Manager   ~0057294

This works as expected in 2.1.3.189.. was this even checked... it may have failed in 2.1.2 but definitely works on 2.1.3