MATLAB爱好者论坛-LabFans.com
(
https://www.labfans.com/bbs/index.php
)
-
Mathematica论坛
(
https://www.labfans.com/bbs/forumdisplay.php?f=34
)
- -
字符串数字转换请教
(
https://www.labfans.com/bbs/showthread.php?t=10580
)
muiz
2010-01-08 12:57
字符串数字转换请教
[B]a="22222.220222";
Print[ToExpression[a]];[/B]
打印出来是 [B]22222.2[/B], 不正确, 如何改正?
不知道有没有其他函数或做法?
我要把a转换成数字, 然后进行计算, 比如 a * 2
所有时间均为
北京时间
。现在的时间是
05:20
。
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.