How many distinct values of $x$ satisfy 
$\lfloor{x}\rfloor^2-3x+2=0$, where $\lfloor{x}\rfloor$ denotes the largest integer less than or equal to $x$?

Let's think step by step and output the final answer within \boxed{}.
user