Number select component with scientific number formatting

Hi there,

I’ve tried out a bunch of number select components (such as dmc.NumberInput), however I can’t find any that would allow me to display the value in scientific format (e.g 2.5e6).

Components will allow setting a value (either through user input or in python) using scientific format, though it then gets converted to float such that 2.5e6 becomes 25000000 or so.

Anybody found a solution to this?

Best wishes,
Daniel

I’m personally not aware of such an input component. Did you consider simply using the string input component and converting the value to the needed type and format?