buLLeT_
11th June 2018, 11:06
https://image.ibb.co/gjPqoT/Untitled.png (https://imgbb.com/)
Is it possible to delete the last 4 numbers?
To display only 0.30....
I tried this way https://killtube.org/showthread.php?1766-Subtract-text-from-variable&highlight=getSubStr
but it does not work
if(self.pers["die"] == 0)
self.kdratio = self.pers["kills"] / 1;
else if(self.pers["die"] == 1)
self.kdratio = self.pers["kills"] / 1.5;
else
self.kdratio = self.pers["kills"] / self.pers["die"];
self.kdratiohud setValue(self.kdratio);
Is it possible to delete the last 4 numbers?
To display only 0.30....
I tried this way https://killtube.org/showthread.php?1766-Subtract-text-from-variable&highlight=getSubStr
but it does not work
if(self.pers["die"] == 0)
self.kdratio = self.pers["kills"] / 1;
else if(self.pers["die"] == 1)
self.kdratio = self.pers["kills"] / 1.5;
else
self.kdratio = self.pers["kills"] / self.pers["die"];
self.kdratiohud setValue(self.kdratio);