Decimal on Numeric Input widget

Hi there,

I’d love it if I could input decimal numbers through the numeric widget. In my scenario, I’m controlling a camera and I need to specify an aperture setting, which takes the form of f/1.2, f/2.8, f/5.6, f/8, etc. Being able to enter “1.2” would be a huge win. I can work around this with the text entry widget, but I’d save some effort if Numeric were able to accept decimal values. Thanks in advance for considering it!

Depending on the number of options, menu widget would be more appropriate.
Also if there are less than 7 choices, a segmented switch option would be good from UX standpoint.

Blynk already supports decimal values on numeric input. Numeric input should be on a virtual pin - then you could change it’s min/max/step values to anything like #.##.

But as @Pavel had suggested, for your case it is better to use something like segmented control or menu

1 Like

Oh, awesome! I don’t know how I missed that - perhaps I was testing it before it was connected to a virtual pin, but you’re absolutely right that this is already supported. Thank you!

1 Like