I am coding a plugin (not relevent), and all I need to do is call 100 instances of an object. Is there a way to do that without writing new foo(m); 100 times? And there is no name for the instance so I don't need it to be public. Could I do something like this? Code (Java): for (double m = 1.0; m < 10.1; m++ ) { new foo(m); }
xD Thanks And when you say rounded, do you mean it will really round to the nearest whole or will it just chop off the decimal?