scijava / scijava-ui-swing

SciJava UI components for Java Swing.
BSD 2-Clause "Simplified" License
7 stars 11 forks source link

Numeric input fields don't handle scientific notation #2

Open ctrueden opened 10 years ago

ctrueden commented 10 years ago

Numeric input fields in IJ2's dialog windows (like those displaying Command @Parameters) cannot accept scientific notation as input (i.e. 1e2 should be 100). Nor do they display enormous numbers as in scientific notation when they could.

This ticket based upon observations by Michael Schmid.

Migrated-From: http://trac.imagej.net/ticket/1807

NicoKiaru commented 3 years ago

But 1E2 works (at least with https://github.com/scijava/scijava-ui-swing/pull/54). 1e2 still fails, but being aware that a capital E is necessary may be sufficient