Change help answer to what is actually shown in the preview

This commit is contained in:
Richard Duivenvoorde 2019-10-12 16:09:49 +00:00 committed by Nyall Dawson
parent 136cec2441
commit d343972d26

View File

@ -10,8 +10,8 @@
{"arg":"range_max", "description":"Specifies the maximum value in the output range, the largest value which should be output by the function."}
],
"examples": [
{ "expression":"scale_linear(5,0,10,0,100)", "returns":"72"},
{ "expression":"scale_linear(5,0,10,0,100)", "returns":"50"},
{ "expression":"scale_linear(0.2,0,1,0,360)", "returns":"72", "note": "scaling a value between 0 and 1 to an angle between 0 and 360"},
{ "expression":"scale_linear(1500,1000,10000,9,20)", "returns":"10.22", "note": "scaling a population which varies between 1000 and 10000 to a font size between 9 and 20"}
{ "expression":"scale_linear(1500,1000,10000,9,20)", "returns":"9.6111111", "note": "scaling a population which varies between 1000 and 10000 to a font size between 9 and 20"}
]
}