Hi
I have a number item and the raw value is in milliseconds and i would like to Convert that to seconds.
Item:
Number Kontor_timer_Aktuel_tid "tid [JS(conv-ms-to-s.js):%s ms] "
.js file
(function msto2(ms) { return (ms / 1000); })(input);
Site map:
Text item=Kontor_timer_Aktuel_tid label="tid tilbage"
On the site map the value is shown but have not been converted.
i have installed the Javascript transformtion app-onPreformatted text