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

Converting strings to numbers for comparison in lua script #3847

Merged
merged 1 commit into from Jan 30, 2017

Conversation

moozzyk
Copy link
Contributor

@moozzyk moozzyk commented Jan 27, 2017

Lua will automatically convert string and number types to the correct format to perform calculations. (...) A notable exception: comparison operators (== ~= < > <= >=) do not coerce their arguments.

Fixes: #3767

_Lua will automatically convert string and number types to the correct format to perform calculations. (...) A notable exception: comparison operators (== ~= < > <= >=) do not coerce their arguments._

Fixes: #3767
@moozzyk
Copy link
Contributor Author

moozzyk commented Jan 27, 2017

Manually verified that the values are updated.

@moozzyk moozzyk merged commit e847b78 into dev Jan 30, 2017
@moozzyk moozzyk deleted the pawelka/bug-3767 branch January 30, 2017 19:06
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.

None yet

3 participants