[LISP]请教?
(atof "180.4244")返回 180.424
怎样才能让它返回:180.4244呢?????
谢谢!!!!!!!!!!!!!!!!!! 估计是内部显示问题,只能显示小数点前后合计6位,但不影响计算精度。
(atof "80.4244")→ 80.4244
回复
Command: (setq a (atof "180.4244"))<BR>180.424Command: (rtos a 2 4)<BR>"180.4244"
可以看出(atof "180.4244")的结果是180.4244.<BR>中是显示了3位.
页:
[1]