INCRBYFLOAT
Adds a floating-point increment to a numeric string.
Strings · Example verified
Syntax covered here
INCRBYFLOAT key incrementThe case applies a fractional increment and confirms the stored decimal result with GET.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SET counter 10
"OK"
# connection: default
> INCRBYFLOAT counter 0.5
"10.5"
# connection: default
> GET counter
"10.5"