ho usato le stringhe dando per scontato che i dati li recuperasse da un file di testo o server esterno, arrivando quindi come stringhe

in effetti basta moltiplicare per 1000 e ri dividere l' arrotondato