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? I can't imagine I'm the first person to need to do this!
In a similar fashion I'm using cw_slider and need to return numbers with just one or two decimal places. How can I make sure the widget only display and returns numbers with such few decimal places? Again, surely I'm not the first to need to do this?!
|