About the numeric input (can display strange decimal rounding)

Вот как раз по поводу numeric input.
Если к одному vpin привязать numeric input и slider, шаг на numeric input сделать 0.1, диапазон 0-1000 то вообще интересно. Если выводить на него значение Blynk.virtualWrite(V, 100), то на дисплее отобразится 100.000 Или допустим было значение 19.8 Нажимаем на плюс, получается 19.90002 или 19.89998


Как то так.

2 Likes

@Leopoll Are you having issues of your own or chipping in advice on a 6 month old topic for a member who hasn’t been seen since?

Просто не стал создавать новую тему.

Well, now you have one :stuck_out_tongue:

So, what is your question?

Ну так это не вопрос. Это bug report. По моему, так не должно быть

1 Like

Normally, hooking up two (or more) output type widgets on the same vPin is not normal practice.

But using either one with a coded routine should produce the exact value as intended within the decimal range set.

What exactly are you determining here?? That an output widget displays incoming data with strange rounding?

Again, these are typically OUTPUT widgets, not display widgets. Interesting rounding results, and possibly due to extending most widgets to a 5 decimal point range… but probably not an earth shattering bug report

But now the developers are aware, so it is up to them. Thanks for reporting. :slight_smile:

@BlynkAndroidDev FYI.
@Leopoll спасибо за багу. Подумаем, что можно сделать.

1 Like