Hello,
how can I split the incoming close() ?
If I get the ES#F, I need the value befor the dot and separately behind (e.g. 1275.75 split into 1275 an into 75)
How can I do it?
I tryed this, but it doesn't work
var vk=0;
var nk=0;
tmp=0,
tmp1=0;
function main () {
tmp=close(); // incoming ES#F
tmp1 = tmp.split("."); // split at the dot
vk = tmp1[0];
nk = tmp1[1];
debugPrint(" "+close()+"; "+tmp+"; "+tmp1+"; "+vk+"; "+nk+" \n");
}
need a littel help, Torso
how can I split the incoming close() ?
If I get the ES#F, I need the value befor the dot and separately behind (e.g. 1275.75 split into 1275 an into 75)
How can I do it?
I tryed this, but it doesn't work
var vk=0;
var nk=0;
tmp=0,
tmp1=0;
function main () {
tmp=close(); // incoming ES#F
tmp1 = tmp.split("."); // split at the dot
vk = tmp1[0];
nk = tmp1[1];
debugPrint(" "+close()+"; "+tmp+"; "+tmp1+"; "+vk+"; "+nk+" \n");
}
need a littel help, Torso
Comment