#how to get random numbers
1 messages · Page 1 of 1 (latest)
just add an 'f' after your decimal numbers
and read #854851968446365696 how to post code
2.5 is a double literal, by multiplying by that you are changing the int into a double. You'll have trouble assigning to an int without explicit conversion too
yea
2.5 // double
2.5f // float
i will try this later :)
thanks a lot !!!