hincrbyfloat
HINCRBYFLOAT
HINCRBYFLOAT key field increment
Increment the specified field
of a hash stored at key
, and representing a floating point number, by the specified increment
. If the increment value is negative, the result is to have the hash field value decremented instead of incremented. If the field does not exist, it is set to 0
before performing the operation. An error is returned if one of the following conditions occur:
- The field contains a value of the wrong type (not a string).
- The current field content or the specified increment are not parsable as a double precision floating point number.
The exact behavior of this command is identical to the one of the INCRBYFLOAT comman