Will "x == (x/10)*10;" be optimised away
<p>Context : We have business requirement that a value is reported at 3 or 4 digit string. If the string is 3 digits, it's value is actually *10. </p>

<p>e.g. 123 represents 1230, where as 4567 represents 4567. </p>

<p>When converting back from a stored integer to the string, the above code is seen as one way to determine this. The question we have is would the optimizer remove this code for x (integer and float). Specifically looking at Java, but the follow on question is how would other languages behave </p>

<p>The obvious other way to do this is use Mod (x%10). </p>
