|
From: | Przemek Klosowski |
Subject: | Re: HEPL FOR A FUNCTION |
Date: | Thu, 19 Apr 2012 14:56:26 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
On 04/19/2012 07:07 AM, CARMEN SANCHEZ wrote:
Is there any octave function to reduce decimals to just only 2 decimals without erase them manually?
It is not clear what you want to accomplish. It could be one of two things, so please clarify which one do you want:
- calculate the result at full 16-digit precision and then display the result to two significant digits? that's what output_precision(0) would do for you.
- truncate the input data to 2 digits and calculate the result
[Prev in Thread] | Current Thread | [Next in Thread] |