Values with periods are not matched with the "var" operator rule: { "var": "1.2TB"} data: { "1.2TB": 1, "2.4TB":2,"4.8TB":4 } output: null Works fine with == operator (and floating point numerical comparisons in general)