Giter Club home page Giter Club logo

Comments (4)

Aang23 avatar Aang23 commented on September 24, 2024

One reason it's done that way is because floats are more efficient internally and used by the backend. Making it int would require int => float conversions everytime.

However the display itself could be set to enforce integers. Thoughts @JVital2013 @RAD750 ?

from satdump.

JVital2013 avatar JVital2013 commented on September 24, 2024

Yes, changing the format string for the slider should help here. But, I think we should keep one or two decimal places.

The reason is: changes of 0.1 can be visibly seen in the FFT/waterfall, depending on your scale. Additionally, you can change by increments of 0.1 by shift-clicking on the +/- buttons, and increments of 0.01 by ctrl-clicking on them. It makes sense for the slider number to reflect this specificity.

3 decimal places is definitely more than we need, however. Even two might be a bit more precision than most folks need, but I'd rather not cut it back too far.

from satdump.

f6bvp avatar f6bvp commented on September 24, 2024

Changing average number of FFT with slider hardly select a +1 or -1.
To increase or decrease Avg by one is perfectly ok by clicking + or - labels.
Then there is absolutely no use to display decimals with 3 digits !
You are right to compute all things with simple or double precision floating points but when displaying values on a screen label, again integer values are enough for our eyes.

from satdump.

f6bvp avatar f6bvp commented on September 24, 2024

Presently there is no way to make displayed number appear like say 120.
With the slider you even cannot approach a dedicated value.
And when clicking on + or - you presently only change integer part of it not the decimals that stay the same.
No use.

from satdump.

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.