问题描述
我有一个需要为负的参数数量,
我试过了
params do
requires amount:,values: -Float::INFINITY..-1,type: BigDecimal
end
但我的控制台显示 `Float is incompatible with values: -Infinity..0``
你知道我该怎么做吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)