Hi matcon, here's for a random integer (whole number): int(random(10))xeb@Jayjay
It doesn't hurt to do it that way, but it isn't needed. CC automatically returns a number based on the input. When using an integer the return value will be an integer also, when using a float the return value will be a float.
random(10) will return an integer in the range [0, 9] -> 0, 1, 2, ..., 8, 9
random(10.0) will return a float -> 0.015, 3.4127843, 7.1095284, etc.
<img src="smileys/smiley2.gif" border="0" align="middle" />