Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the Val() global function to always return Float if no radix parameter is passed #474

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

lvcabral
Copy link
Owner

In Roku the global function Val() convert all values to a Float unless the radix parameter is passed.
This PR fixes this behavior in brs-engine and also fixes the toString() parsing on Float

@lvcabral lvcabral merged commit 10295a2 into master Feb 18, 2025
3 checks passed
@lvcabral lvcabral deleted the fixed-val-to-return-float branch February 18, 2025 19:55
lvcabral added a commit that referenced this pull request Mar 28, 2025
…ix` parameter is passed (#474)

* Fixed the `Val()` global function to always return `Float` if no `radix` parameter is passed

* Added missed semi-colons
lvcabral added a commit that referenced this pull request Mar 28, 2025
…ix` parameter is passed (#474)

* Fixed the `Val()` global function to always return `Float` if no `radix` parameter is passed

* Added missed semi-colons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant