Skip to content

Commit

Permalink
修正 INCRBYFLOAT 的代码注释
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzworks committed Apr 1, 2012
1 parent 5eb750d commit 1eb1046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions string/incrbyfloat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ INCRBYFLOAT
redis> SET mykey 314e-2
OK

redis> GET mykey # 用 SET 设置的值可以是指数符号
redis> GET mykey # 用 SET 设置的值可以是指数符号
"314e-2"

redis> INCRBYFLOAT mykey 0 # 但执行 INCRBYFLOAT 之后格式会被改成非指数符号
redis> INCRBYFLOAT mykey 0 # 但执行 INCRBYFLOAT 之后格式会被改成非指数符号
"3.14"

# 可以对整数类型执行
Expand Down

0 comments on commit 1eb1046

Please sign in to comment.