becasuse you are already checking as for
<= NumberProbabilityDatas.Percent;
in your RandomItemNumber();
and you are linking it with RandomItemType();
so both should work in the same velocity of compile time in easy words for you to explain.
use <
in both of them or <=
in both or them.
hope it helps
cheers!