Redis Data Types Cheat Sheet/Increment float field

Atomically increment a float field.

Section: Hashes

Increment float field

bash
bash
HINCRBYFLOAT account:1 balance 9.99

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Hashes
Increment integer field
Atomically increment a numeric field.
OpenIn sheetbashsame section
Set one or more hash fields
Create or update hash fields.
OpenIn sheetbashsame section
Get one hash field
Read one field from a hash.
OpenIn sheetbashsame section
Get multiple fields
Read several fields in one call.
OpenIn sheetbashsame section
Get all fields and values
Read the full hash.
OpenIn sheetbashsame section
List field names
Return all field names in a hash.
OpenIn sheetbashsame section