⚖️Numbers

-Number Slider with auto +,-

var s = effect(1)(1).value.toFixed(0); 
if (s<0) "-" + Math.abs(s);
else s;

Adds a +,- depending on the Value of the slider

-Counter with £,% and decimals

slider = effect("Slider Control")("Slider")
prefix = "£";
suffix = "";
comma = true;value = parseInt(slider);
if (value < 0) {  
prefix = "-" + prefix;  
value = Math.abs(value);}
if (comma) {  value = value.toLocaleString();}
prefix + value + suffix;

Description needed

-Number Slider with auto +,-

var s = effect(1)(1).value.toFixed(0);
 if (s>0) "+"+s else s;

Adds a +,- depending on Value of the slider

Last updated