X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Mar 2009 10:40 AM by  anon
Setting Odd/Even numbers and decimal places in widgets
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
06 Mar 2009 10:40 AM
    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?!
    You are not authorized to post a reply.