My Service Call gives me a decimal number 1.2073544433094996, i then map it to a label. Is there any java I can add to change it to 1.2 or round to closest number?
My Service Call gives me a decimal number 1.2073544433094996, i then map it to a label. Is there any java I can add to change it to 1.2 or round to closest number?
I tried that didn't work
Can you show how you are using it? (Code example).
Hello! You need to change JS in mapping instead prereturn Math.round(KillDR);/pre should be prereturn Math.round(value);/pre