This code
p = -0.4884; q = -0.4641; s = 0.013; t = 0.5;
mm = {{1.0, 0.0, p, s}, {0.0, 1.0, p, q}, {-2.0, 0, -(2.0*p+s), 2.0*t+q},
{0. 0,-2.0, -(2.0*s+p) ,2.0*q+t} };
vec = LinearSolve[mm, {1.0, 0.0, 1.0, 0.0}];
vec[[1]]
gives as an output $\frac{1. \left(3.55271\times10^{-15}\text{}^2-1.73201 \text{}+0.0312286\right)}{0.274432 \text{}+0.0322426}$. I understand that Mathematica is smart and wants to keep things fractional as far as it can. But I do not want it. How can I convert this output to simple decimal expression?
-5.54589Concidering your LaTeX has \text{} in it like in your previous question, I wonder what's going on. Could you paste the output ofvec[[1]]//FullFormandHold[mm]//FullForm– ssch Feb 5 at 19:24