diff options
author | liaolliso2012 <lear.liao@profero.com> | 2014-01-06 11:56:42 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2014-01-06 21:34:53 +0400 |
commit | f92b74ba35a332f837e163ec8f9e7683266768dd (patch) | |
tree | 1f65277b7beb049ba49c67bb6da5e59564af2d90 | |
parent | 727b824924c4f47d83aa49372cb42d512830330b (diff) |
Update README.markdown
incrByFloat function in example returns wrong value
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index e3ab9294..fb4c122c 100644 --- a/README.markdown +++ b/README.markdown @@ -780,7 +780,7 @@ $redis->incrByFloat('key1', 1.5); /* key1 didn't exist, so it will now be 1.5 */ $redis->incrByFloat('key1', 1.5); /* 3 */ $redis->incrByFloat('key1', -1.5); /* 1.5 */ -$redis->incrByFloat('key1', 2.5); /* 3.5 */ +$redis->incrByFloat('key1', 2.5); /* 4 */ ~~~ ### decr, decrBy |