Started by
MagmaPress678
on
Topic category: Feature requests and ideas for MCreator
I'd like to have the option to round a number by x. For example:
round 1 by 5's = 0
round 4 by 5's = 5
round 11 by 10's = 10
round 28.3 by 10's = 30
I couldn't find an easy way to make this with the current options available and I think it'd be a nice and useful option to have.
Thanks, MagmaPress678.
I might be able to help you more if you tell me what you need this for.
I made a command which prints a random number in a range, and I want to add the option to get a random number which is a multiple of x(a changable command parameter).
Nevermind, I found a way to make it. Thanks for the help anyway.
hey bro, I have the same issue, how did you make "custom rounding"??
uhhh i have had this same question, i am doing a "Random, 0,1" and i want it to be rounded to the nearest 0.1. And i have no idea how to do this.