-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RedisHelper.ZScore方法报错 #275
Comments
去 redis-cli 执行这个命令试试 |
返回的内容是什么?现在解析是用的 decimal.Parse(""),有可能是这里报错 |
Redis中用ZSet存的数据为: |
这个方法的Value值也就是 member 是Object啊。 |
现在手机,给个建议时间可以按2000年,或者1970计算秒数做 score,这样能保证数字小一点,晚一点我试试 |
127.0.0.1:6379> zscore CG_001 591 > decimal.Parse("6.372066614683232e+017") |
请升级到 v3.5.5 |
好了。更新到新版本问题解决。 |
var success = RedisHelper.ZScore("CG_001", 591);
System.FormatException:“Input string was not in a correct format.”
The text was updated successfully, but these errors were encountered: