Closed catwell closed 10 years ago
Makes sense, I also updated ZSCORE
to return the score as number for consistency with this change. I pushed those changes into master
but I won't backport them to v2.0 as I think it can be considered a breaking change to a certain extent. Thanks!
Currently
ZRANGE ... WITHSCORES
returns scores as strings. Since Redis scores are always float, would it not be a good idea to calltonumber()
on them before returning them to the user?