The sample space while rolling a die is
since there are 6 possible outcomes, the probability of obtaining any side of the die is

Then, the probability to have a number less than 3 is

since

we have

that is, the probability to get a number less than 3 is 1/3, which is equal to 0.333.