arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.03k stars 4.78k forks source link

Berry add `math.round` #21602

Closed s-hadinger closed 3 months ago

s-hadinger commented 3 months ago

Description:

Berry add math.round() internally using the same semantic as C round() and roundf() functions:

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass