💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## incrByFloat ##### Description Increment the key with floating point precision. 自增一个浮点型的数值。 ##### Parameters *key* *value*: (float) value that will be added to the key ##### Return value *FLOAT* the new value ##### Examples ``` <pre class="calibre9">$redis->incrByFloat('key1', 1.5); /* key1 didn't exist, so it will now be 1.5 */ $redis->incrByFloat('key1', 1.5); /* 3 */ $redis->incrByFloat('key1', -1.5); /* 1.5 */ $redis->incrByFloat('key1', 2.5); /* 3.5 */ ```