Subject: How to make the displayed number shorter?
From: zycentre
Date: Fri, 6 May 2005 23:42:15 +0800 (CST)
Like this:
(%i2360) FPPREC:6;
(%o2360) 6
(%i2361) tex(float(1/3));
$$0.3333$$
(%o2361) FALSE
(%i2362) tex(float(1/3*10^-24));
$$3.3333333333333335 \times 10^{-25}$$
(%o2362) FALSE
(%i2363) tex(float(1/3*10^-2));
$$0.0033$$
(%o2363) FALSE
The output of (%i2362) is not wanted. Why the setting
of FPPREC doesn't work when the value is too little?
However,
(%i2364) float(1/3*10^-24);
(%o2364) 3.33333E-25
It works without "tex"!
Is there any other way to make the "tex"ed value to be
shorter. It is for the convenience of reading.
Thanks for consideration.
YC Zou
_________________________________________________________
Do You Yahoo!?
×¢²áÊÀ½çÒ»Á÷Æ·ÖʵÄÑÅ»¢Ãâ·ÑµçÓÊ
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/