GithubHelp home page GithubHelp logo

Formatierung Powerlimit [Bug] about ahoy HOT 2 CLOSED

mellow5 avatar mellow5 commented on August 30, 2024
Formatierung Powerlimit [Bug]

from ahoy.

Comments (2)

MetaChuh avatar MetaChuh commented on August 30, 2024

die binary precision verfolgt uns alle, ständig, in allen projekten 😉

hier ein diff vorschlag mit .toFixed(1) rundung, wie bei mehreren anderen werten in src/web/html/visualization.html:

---119 pwrLimit += ", " + (obj.max_pwr * obj.power_limit_read / 100) + " W";
+++119 pwrLimit += ", " + (obj.max_pwr * obj.power_limit_read / 100).toFixed(1) + " W";

greetings,
metachuh

from ahoy.

MetaChuh avatar MetaChuh commented on August 30, 2024

hi @mellow5
die rundung ist ab ahoydtu v0.8.96 gefixed.
wir konnten in den tests keine weiteren optischen fehler, in der web anzeige, bezüglich issue #1517 finden.

bitte lade dir dev ahoy_v0.8.97 herunter, und schließe dieses issue, wenn es für dich funktioniert.

thx & greetings,
metachuh

from ahoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.