http://www.picbasic.co.uk/forum/show...ht=random+seed

An MCU does not handle anything other than integer math with out some heavy manipulation. Most times it is better to find away around using decimals. So in your case I would stick with 21.

Or you could dive into this
http://melabs.com/resources/fp.htm