<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, rounding negative number in Maple T.A.</title>
    <link>http://www.mapleprimes.com/questions/38698-Rounding-Negative-Number-In-Maple-TA</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 20:59:27 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 20:59:27 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, rounding negative number in Maple T.A.</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, rounding negative number in Maple T.A.</title>
      <link>http://www.mapleprimes.com/questions/38698-Rounding-Negative-Number-In-Maple-TA</link>
    </image>
    <item>
      <title>decimal(n, x)
Returns x</title>
      <link>http://www.mapleprimes.com/questions/38698-Rounding-Negative-Number-In-Maple-TA?ref=Feed:MaplePrimes:rounding negative number in Maple T.A.:Comments#answer69758</link>
      <itunes:summary>&lt;p style="margin-left: 0px;" class="Listing"&gt;decimal(n, x)&lt;/p&gt;
&lt;p class="whs1"&gt;Returns &lt;font face="Courier New" style="font-family: 'Courier New';"&gt;&lt;span class="variable"&gt;x&lt;/span&gt;&lt;/font&gt;   expressed as a floating-point number rounded to &lt;font face="Courier New" style="font-family: 'Courier New';"&gt;&lt;span class="variable"&gt;n&lt;/span&gt;&lt;/font&gt; decimal places. &amp;nbsp;When   &lt;span class="examplecommand"&gt;decimal(0,expression)&lt;/span&gt; is used with an   expression, the system automatically inserts commas to separate thousands.&lt;/p&gt;
&lt;p class="whs1"&gt;From http://www.brownstone.net/support/edu/authoring/&lt;/p&gt;
&lt;p class="whs1"&gt;Regards, Hans van Walen&lt;/p&gt;</itunes:summary>
      <description>&lt;p style="margin-left: 0px;" class="Listing"&gt;decimal(n, x)&lt;/p&gt;
&lt;p class="whs1"&gt;Returns &lt;font face="Courier New" style="font-family: 'Courier New';"&gt;&lt;span class="variable"&gt;x&lt;/span&gt;&lt;/font&gt;   expressed as a floating-point number rounded to &lt;font face="Courier New" style="font-family: 'Courier New';"&gt;&lt;span class="variable"&gt;n&lt;/span&gt;&lt;/font&gt; decimal places. &amp;nbsp;When   &lt;span class="examplecommand"&gt;decimal(0,expression)&lt;/span&gt; is used with an   expression, the system automatically inserts commas to separate thousands.&lt;/p&gt;
&lt;p class="whs1"&gt;From http://www.brownstone.net/support/edu/authoring/&lt;/p&gt;
&lt;p class="whs1"&gt;Regards, Hans van Walen&lt;/p&gt;</description>
      <guid>69758</guid>
      <pubDate>Mon, 15 Sep 2008 19:17:51 Z</pubDate>
      <itunes:author>Hans van Walen</itunes:author>
      <author>Hans van Walen</author>
    </item>
    <item>
      <title>Dear Harry,
Maple T.A.'s</title>
      <link>http://www.mapleprimes.com/questions/38698-Rounding-Negative-Number-In-Maple-TA?ref=Feed:MaplePrimes:rounding negative number in Maple T.A.:Comments#answer69745</link>
      <itunes:summary>&lt;p&gt;Dear Harry,&lt;/p&gt;
&lt;p&gt;Maple T.A.'s built-in functions, including decimal(n, x), are documented in the its online help system.&lt;/p&gt;
&lt;p&gt;On your specific question, decimal(2,-0.625) returns -0.62 while decimal(2, 0.625) returns 0.63. Similarly, decimal(1, -0.65) = -0.6 while decimal(1, 0.65) = 0.7. What is common to all these cases is that Maple T.A. rounded &lt;u&gt;up&lt;/u&gt; whenever the number lay right in the middle.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Carl Hickman&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Dear Harry,&lt;/p&gt;
&lt;p&gt;Maple T.A.'s built-in functions, including decimal(n, x), are documented in the its online help system.&lt;/p&gt;
&lt;p&gt;On your specific question, decimal(2,-0.625) returns -0.62 while decimal(2, 0.625) returns 0.63. Similarly, decimal(1, -0.65) = -0.6 while decimal(1, 0.65) = 0.7. What is common to all these cases is that Maple T.A. rounded &lt;u&gt;up&lt;/u&gt; whenever the number lay right in the middle.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Carl Hickman&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>69745</guid>
      <pubDate>Wed, 17 Sep 2008 17:05:59 Z</pubDate>
      <itunes:author>Carl Hickman</itunes:author>
      <author>Carl Hickman</author>
    </item>
  </channel>
</rss>