Newbe here,
I am working on a project where I can randomly light one of 5 LED attached to portb. PicBasic has a random number generator that will write a random number between 1 and aprox 65K to a variable. So I can divide the vaiable by about 16K to get a number between 0and 4. or by 13k to get a number between 0 and 5..... I can play with that part later. My question is how do I round to a whole number or truncate to a whole number?

Any help deeply appriciated