UNPKG

298 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.incrbyfloat = incrbyfloat;
7function incrbyfloat(key, increment) {
8 var curVal = parseFloat(this.data.get(key));
9 this.data.set(key, (curVal + parseFloat(increment)).toString());
10 return this.data.get(key);
11}
\No newline at end of file