Mantis
Recently Visited: 0028613, 0028583, 0020916, 0028707, 0028604

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028640RunnerVariablesPublic2018-01-08 12:212018-01-11 20:50
ReporterStewart Bishop 
Assigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility50%
StatusResolvedResolutionUnable to Reproduce 
PlatformOSOS 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 Version
2.x Runtime Version2.1.3.189
2.x Runtime Version Verified In2.1.3.189
Attached Files? file icon RealFloats.yyz [^] (12,960 bytes) 2018-01-08 12:21

- Relationships

-  Notes
(0057294)
Russell Kay (Manager)
2018-01-11 20:50

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


Copyright © 2000 - 2018 MantisBT Team
mail.yoyogames.com
Powered by Mantis Bugtracker