Hi,
I have created a program that multiply matrices, but the problem has to do with not showing 0, instead showing 1.795e-09 or some other smaller numbers.
One of the matrices I get for example :
Matrix=[1.795e-09,-1,0,-2.962e-10,
1,1.795e-09,8.034e-36,0.1]
I don't want the elements to be integers, at least floats (I have defined the contents to be double). But, how do you get rid of this problem?
thanks
I have created a program that multiply matrices, but the problem has to do with not showing 0, instead showing 1.795e-09 or some other smaller numbers.
One of the matrices I get for example :
Matrix=[1.795e-09,-1,0,-2.962e-10,
1,1.795e-09,8.034e-36,0.1]
I don't want the elements to be integers, at least floats (I have defined the contents to be double). But, how do you get rid of this problem?
thanks
Comment