
Btw will [] can get absolute value of any numbers???
for ex, I want to get an absolute value of this code
- Code: Select all
animpos=(rand(30)+(exp/10)-((health*2)/100))/2;
If that code produce a negative form, can I get the positive form by
- Code: Select all
animpos=[(rand(30)+(exp/10)-((health*2)/100))/2];