From d343972d269ddad324eccd52a268bd549408bf95 Mon Sep 17 00:00:00 2001 From: Richard Duivenvoorde Date: Sat, 12 Oct 2019 16:09:49 +0000 Subject: [PATCH] Change help answer to what is actually shown in the preview --- resources/function_help/json/scale_linear | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/function_help/json/scale_linear b/resources/function_help/json/scale_linear index 60a9b813c7e..a183c9aa082 100644 --- a/resources/function_help/json/scale_linear +++ b/resources/function_help/json/scale_linear @@ -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"} ] }