You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there are parameters for min_int and max_int and expected to see similar parameters for floats, but didn't see any. Did I miss something? Is there another way to do this? It would seem like min_float and max_float would be nice additions for when dealing with floats.
The text was updated successfully, but these errors were encountered:
Hi! Good question - at least currently, you're able to do that using the func parameter - that said, adding float mins and maxes shouldn't be a big lift
Thanks @smt5541 . You confirmed what I was thinking that the way to tackle this today would be to use a func parameter.
I took a look at the code as well and agree it shouldn't be too big of an effort to add in min_float and max_float--would probably pretty much replicate how min_int and max_int are implemented. If I get adventurous over the holidays I'll try to conjure up a PR.
It would probably be good here to replace min/max min_int/max_int with just a generic "min" and "max", that will automatically change depending on input type.
I see there are parameters for min_int and max_int and expected to see similar parameters for floats, but didn't see any. Did I miss something? Is there another way to do this? It would seem like min_float and max_float would be nice additions for when dealing with floats.
The text was updated successfully, but these errors were encountered: