Salve a tutti,
volevo sapere se e come si può fare per effettuare una divisione e ottenere un numero intero arrotondato per eccesso:
ex:
7 / 4 = 1.75 -----> divrebbe diventare 2
5 / 4 = 1.25 -----> divrebbe diventare 2
è fattibile?
grazie a tutti
Salve a tutti,
volevo sapere se e come si può fare per effettuare una divisione e ottenere un numero intero arrotondato per eccesso:
ex:
7 / 4 = 1.75 -----> divrebbe diventare 2
5 / 4 = 1.25 -----> divrebbe diventare 2
è fattibile?
grazie a tutti
think simple think ringo
grazie! :mavieni:
e con 0.67307692307692 farlo diventare 0.6731 ???