Dear all, now I'm study mathematica, and face a problem like this:
I want to covert string "1107.302" to a double number and then do some calculation.
But the ToExpression function lost the number "02", then what can I do? Any suggestions?Code:a = "1107.302 "; Print[a]; >> Output is 1107.302 b=ToExpression[a]; Print[b]; >> Output is 1107.3 c = b * 2; .......
Thanks in advance!


LinkBack URL
About LinkBacks
