title: How to take the square of a number in Android
body: <p>I'm trying to make a number squared (for example, x^2) in Android code, but I get this error: </p>
  
  <p>The operator ^ is undefined for the argument type(s) int, boolean</p>
  
  <p>is there a different way to square a number/variable in Android? </p>