What are the solutions to equation [x]=2
A:-2
B: 2
C: -1/2
D:1/2
A:-2
B: 2
C: -1/2
D:1/2