issues
search
rokucommunity
/
brs
An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
4
stars
2
forks
source link
Fixed `val()` edge cases: hex without radix and `NaN`
#3
Closed
lvcabral
closed
1 year ago
lvcabral
commented
1 year ago
Fixed bug #2 :
Code was forcing radix = 10 as default, preventing hex parsing with
0x
prefix
When the string was not a number the return was
NaN
instead of zero.
Updated Unit Tests
Replaced deprecated function
substr()
Small changes on
README.md
for first release
Fixed bug #2 :
0x
prefixNaN
instead of zero.substr()
README.md
for first release