First time here? Check out the FAQ!
answered 2013-12-27 10:34:31 -0600
Use convertTo method:
convertTo
A.convertTo(B, B.type());