Use POW(A,B) But I recommend you try to avoid exponents wherever possible Like use X*X Instead of POW(X,2)