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

math.modf() dose not work! #3574

Open
montotile opened this issue Apr 17, 2023 · 0 comments
Open

math.modf() dose not work! #3574

montotile opened this issue Apr 17, 2023 · 0 comments

Comments

@montotile
Copy link

Expected behavior

nodemcu 5.1 math.modf() could be used.

Actual behavior

init.lua:144: attempt to call field 'modf' (a nil value)

Test code

print("math.modf_test:",math.modf(12.23))

NodeMCU startup banner

NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com
branch: release
commit: f25dc56
release:
release DTS: 202112300746
SSL: false
build type: float
LFS: 0x0 bytes total capacity
modules: file,gpio,http,mdns,mqtt,net,node,ow,pwm,tmr,uart,websocket,wifi,wifi_monitor
build 2023-02-13 08:18 powered by Lua 5.1.4 on SDK 3.0.1-dev(fce080e)

Hardware

ESP8266

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

No branches or pull requests

1 participant