Thanks to both of you for your answers. I got what I want writing the following template:
Code:
program:
before = round($$#words/1000);
after = round(($$#words-(before*1000))/100)*0.1;
complete=before+after
I will add the "k" after the number in the plugboard when sending the files to the device.