#how would i round a negative number up to 0

1 messages · Page 1 of 1 (latest)

pure gyro
#

If X < 0, then output 0, else output X.

#

And you ain't dumb, you probably just don't fully grasp how to break down problems into smaller parts just yet. You'll get there if you keep trying!

So no more self-deprecation!

verbal ruin
#

put a max

#

put the number though the input

#

and you got yourself a positive number

#

believe it or not contidional statements are quite expensive
only use them if you absolutely have to or it has benefical gain from using math