SCALE transform with decimals (non-integers)

Question: Is it possible to use non-integers in a scale range?

I have a value with decimals (e.g. 0.12345) that I’m trying to transform using a scale.

The log files shows:

09:53:10.631 [WARN ] [rm.AbstractFileTransformationService] - Could not transform '0.12345' with the file 'demo.scale' : Target value not found in map for '0.12345'

demo.items

Number Value1 "Value [%.3f]"

demo.scale

[0..2]=NO_PROTECTION
[3..7]=PROTECTION
[8..]=EXTRA_PROTECTION

demo.sitemap

Text item=Value1
Text item=Value1 label="Value [SCALE(demo.scale):%s]"

Ping! Anyone?

Hi, if SCALE don’t work, may be you could try JS transform?

(function(i){
	var ret = "";
	if (i <= 2) ret = "NO_PROTECTION";
	
// your code
	return ret;
})
(input)

Thanks for the suggestion. That would be my alternative if I get confirmation that scale will not work (by design).