If we are given that (x-2)(x-3)=0 and 0.0=0, then we can conclude that both x=2 and x=3 simultaneously. This is because x-2=0 and x-3=0, simultaneously, is consistent with 0.0=0. However, this leads to a contradiction, namely, x=2=3. So, generally we exclude this option while finding roots of an equation and consider that only one of the factors can be zero at a time i.e. all the roots are mutually exclusive. In other words, we consider 0.0 to be not equal to 0.
Now, if we are given that x=0 and asked to find out what x^2 is, then certainly we conclude that x^2=0. It is trivial to observe that this conclusion is made through the following process: x^2=x.x=0.0=0. That is, we need to consider 0.0=0 to make this simple conclusion.
Therefore, while in the first case we have to consider 0.0 not equal to 0 to avoid contradiction, in the second case we have to consider 0.0=0 to reach the conclusion. So, the question arises whether 0.0 is equal to 0 or not. As far as I know, mathematical truths are considered to be universal. However, in the present discussion it appears to me that whether 0.0 is 0 or not, is used as par requirement. Is that legitimate in mathematics?