How To

How to round a number

0

G-9 2020-05-01 13:20

Example : how to set 28,389 to 28 or how to set 10,830 to 11 ?


GAMELEGEND 2020-05-01 15:01 (Edited)

PRINT INT(28.389)
This just round down
Or should i say it just gets rid of the decimal numbers


Timo 2020-05-01 15:05

For real rounding:
INT(A+0.5)


GAMELEGEND 2020-05-01 15:08

So do you want to round the number and print it or do you want to round the number and change it


G-9 2020-05-01 16:29

round and print
:)


G-9 2020-05-02 05:53

Thank you Gamelegend and timo 🙏


GAMELEGEND 2020-05-02 06:25

No problem


G-9 2020-05-02 18:25

https://m.youtube.com/watch?v=nI6oKtvsdKQ


... Nintendo .... NX ... ???


Log in to reply.