Re: Print with limited precision
- To: mathgroup at smc.vnet.net
- Subject: [mg51128] Re: Print with limited precision
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Tue, 5 Oct 2004 04:37:22 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 10/4/04 at 6:18 AM, stevebg at adelphia.net (Steve Gray) wrote: >There must be some built-in function to print out decimal >quantities with say 2 digits of precision to the right of the >point. I want quantities such as zz= -27.9873554 to print as >-27.99, etc., but keeping the real precision internally. I could >write one easily enough but I would think there is already such a >thing. This seems trivial but I can't find how to do it in Help, >etc. Try NumberForm for example zz=-27.9873554; NumberForm[zz,4] -27.99 -- To reply via email subtract one hundred and four