View Single Post
Old 27 March 2017, 09:44   #44
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,335
Quote:
Originally Posted by Jackoland View Post
I'm doing this at the moment

Rent1=int (rnd(80-150))
The others have already answered this, I hope it makes sense. I'd just like to add that you don't need the Int() function in Blitz - the Rnd() function automatically returns an integer when the range is greater than 1. Some other BASICs do need it, but it looks neater without it
Daedalus is offline  
 
Page generated in 0.07916 seconds with 11 queries