Hello people!
See that code:
Well, it actually gives me the wrong number of MegaBytes =/Code:if (total_lenght / 1024 >= 1024){total_lenght = total_lenght / 1024; tudo2 += " Tamanho Total: " + FloatToString(total_lenght) + " MegaBytes.\n";} else if (total_lenght >= 1024){total_lenght = total_lenght / 1024; tudo2 += " Tamanho Total: " + FloatToString(total_lenght) + " KiloBytes.\n";} else tudo2 += " Tamanho Total: " + FloatToString(total_lenght) + " Bytes.\n";
What is wrong?
Thanks =]