4 digit number 12*6 is a perfect square.the value of the digit represented by * is ?

Just put in some number

e.g. 1256
√1256 = appr 35.44

but we know that it must end in a 6, so it has to be 36
36^2 = 1296

so the missing number is a 9