The INCR
command is commonly used in Redis to increment a value by one. And the INCRBY
command can be used to increment a valued by a specified integer. But neither of those commands let us work with floating point numbers.
If we want to use floating point numbers, we can use the INCRBYFLOAT
command.