For a Kill/Death Ratio, I know I have to divide kills by deaths.
For an example:
1 / 3
It will result in 0.33333333333333
How do I make it just say 0.3?
Is there a math call for it? I checked the wiki.
Like:
math.???(1/3)
uhhh... maybe this?:
math.floor(1/3,0.1)
idk, but it would probably use math.floor or math.ceiling, since it seems youre trying to round... and is there any way to just round it to the closest number, not just round up or down? o.0
try nothing, because 1/3 is always 0.3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
kthxbai
Ignore my last post CUZ I JUST DID IT!!!! >:D
local HAK = (3/1)
local SHAK = (tostring(HAK))
local NHAK = (string.len(SHAK))
local purehak = (NHAK) - 2
local leveler = (10^(purehak))
print(HAK * leveler)