Home »
Public Forums »
archive »
Setting odd/even numbers and decimal places in ENVI widgets
Setting odd/even numbers and decimal places in ENVI widgets [message #65625] |
Sat, 14 March 2009 15:11 |
a.l.j.ford
Messages: 7 Registered: March 2009
|
Junior Member |
|
|
I'm currently using widget_slider (and widget_sslider), but I need to
constrain them to only odd numbers (so I can set the kernel size for
processing later in my User Function). How does one make sure that
such widgets only return (and display) either odd or even numbers?
In a similar fashion I'm using cw_fslider and need to return numbers
with just one or two decimal places. How can I make sure the widget
only displays (and returns) numbers with such few decimal places?
|
|
|
Current Time: Sat Oct 11 15:00:11 PDT 2025
Total time taken to generate the page: 1.44104 seconds