Jump to content

VALIDATOR_FLOAT and scientific notation


photo

Recommended Posts

Hi,

I see you can set text fields with validators, one of them is Unigine::Gui::VALIDATOR_FLOAT.

Is it possible to allow floating point input WITHOUT allowing scientific notation?

For example, if i set a text input box with VALIDATOR float, the user can still enter 'inf' or other valid scientific notation characters 'E,i' etc. Can we disable these extended features of a text input box but still allow float numbers?

Cheers

Link to comment
×
×
  • Create New...