<div dir="ltr">Hi,<div><br></div><div>I have a complex double (x :+ y) where 'x' and 'y' are computed using sin and cos functions on an angle expressed in radians.</div><div><br></div><div>However, the output on the command line (using GHCi) shows up with a lot of decimal places. How can I limit the values of 'x' and 'y' to having only two decimal places?</div><div><br></div><div>Thanks,</div><div>Raghav</div></div>