Redis.incrByFloat

INCRBYFLOAT <p> INCRBYFLOAT commands are limited to double precision floating point values. <p> Note: this is actually a string operation, that is, in Redis there are not "double" types. Simply the string stored at the key is parsed as a base double precision floating point value, incremented, and then converted back as a string. There is no DECRYBYFLOAT but providing a negative value will work as expected. <p> Time complexity: O(1) @param key @param increment @return Double reply, this commands will reply with the new value of key after the increment.

  1. Double incrByFloat(string key, double increment)
    class Redis
    Double
    incrByFloat
    (
    string key
    ,
    double increment
    )
  2. alias incrByFloat = BinaryRedis.incrByFloat

Meta