HybridDog
2018-07-16 41f175986d18ef9cf697b95e4570555471068857
refs
author HybridDog <ovvv@web.de>
Monday, July 16, 2018 17:26 +0200
committer SmallJoker <SmallJoker@users.noreply.github.com>
Monday, July 16, 2018 17:26 +0200
commit41f175986d18ef9cf697b95e4570555471068857
tree d1b28a5f13e096d176430ffad3e9b8ea8e765a7b tree | zip | gz
parent 6af0376c23e000b7e2cd4db2659ff5d632c4e60b view | diff
Show EU power values more readable (#424)

Add the EU_string helper function
In comparison to pretty_num it uses SI prefixes, adds "EU" (e.g. kEU) and rounds the number for readability
Add a constant_digit_count boolean setting
9 files modified
102 ■■■■ changed files
technic/doc/api.md 7 ●●●● diff | view | raw | blame | history
technic/helpers.lua 65 ●●●● diff | view | raw | blame | history
technic/machines/LV/solar_panel.lua 5 ●●●●● diff | view | raw | blame | history
technic/machines/MV/wind_mill.lua 3 ●●●● diff | view | raw | blame | history
technic/machines/power_monitor.lua 2 ●●● diff | view | raw | blame | history
technic/machines/register/battery_box.lua 5 ●●●●● diff | view | raw | blame | history
technic/machines/register/solar_array.lua 5 ●●●●● diff | view | raw | blame | history
technic/machines/supply_converter.lua 4 ●●● diff | view | raw | blame | history
technic/machines/switching_station.lua 6 ●●●● diff | view | raw | blame | history