Android : How to take the square of a number in Android

on Thursday, July 31, 2014


I'm trying to make a number squared (for example, x^2) in Android code, but I get this error:


The operator ^ is undefined for the argument type(s) int, boolean


is there a different way to square a number/variable in Android?


0 comments:

Post a Comment