9276 IF XX=A AND XX<=B THEN FD=1/(B-A+1) : FP=(XX-A+1)/(B-A+1)