View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John C[_2_] John C[_2_] is offline
external usenet poster
 
Posts: 1,358
Default how to format a complex number

I am assuming that your real and imaginary numbers are coming from other
calculations?

You could always try rounding inside the function itself:

=COMPLEX(ROUND(RealNo,2),ROUND(ImagNo,2),'j")

for example.
--
John C


"michel74" wrote:

When using the complex function, the default format has many decimal places,
both for real and imaginary parts. I would like to change this and I don't
know how to do it.