How can we map output of atan2() to [-90 to +90]?

I have output from complementary filter which uses atan2() function but the outputs are in range [-pi to +pi] as they are given by atan2.