kraigb
Electrical
- Jul 11, 2000
- 42
I am running into some difficulty formatting the numbers that come out of manipulation of complex numbers. In order to do the mathematical computations, I have to break a complex number down to do operations on the imaginary and real components separately.
When I return to complex notation, the number of significant digits is untenable. I cannot get any of the built in number formats to change the way the number is displayed.
For information, I am starting with a number like:
3E-002+3.6E-002i which is displayed using the formula: =COMPLEX(0.03,0.036,"j"
In order to do unit conversion on these numbers, however, I am using the formula:
=COMPLEX((IMREAL(B22)*5.28/C17),IMAGINARY(B22)*5.28/C17,"j"
this is where I get the insane number of significant digits.
How can I bring the results down to 2 or 3 significant digits?
Any suggestions on how to better handle complex numbers would also be appreciated.
Thanks!
When I return to complex notation, the number of significant digits is untenable. I cannot get any of the built in number formats to change the way the number is displayed.
For information, I am starting with a number like:
3E-002+3.6E-002i which is displayed using the formula: =COMPLEX(0.03,0.036,"j"
In order to do unit conversion on these numbers, however, I am using the formula:
=COMPLEX((IMREAL(B22)*5.28/C17),IMAGINARY(B22)*5.28/C17,"j"
this is where I get the insane number of significant digits.
How can I bring the results down to 2 or 3 significant digits?
Any suggestions on how to better handle complex numbers would also be appreciated.
Thanks!