<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Activity for BCMath Library for JavaScript</title><link>https://sourceforge.net/p/bcmath-js/activity/</link><description>Recent activity for BCMath Library for JavaScript</description><language>en</language><lastBuildDate>Thu, 02 Nov 2017 17:49:39 -0000</lastBuildDate><item><title>Rob created ticket #5</title><link>https://sourceforge.net/p/bcmath-js/bugs/5/</link><description>Fix for truncated instead of rounded results</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 02 Nov 2017 17:49:39 -0000</pubDate><guid>https://sourceforge.net/p/bcmath-js/bugs/5/</guid></item><item><title>Rob posted a comment on ticket #4</title><link>https://sourceforge.net/p/bcmath-js/bugs/4/?limit=25#344c</link><description>I just noticed that there will be more "undefined property" warnings if no decimal point is used, i.e. when multiplying 10 and 10 instead of 10.0 and 10.0 ... the following snippet takes care of everything, including the original issue mentioned above, replace lines 144 - 157 with this: //while (bcmath.isdigit(str[ptr])) while((ptr&lt;str.length) &amp;&amp; ((str[ptr]) % 1 === 0)) { //bcmath.isdigit(str[ptr])) { ptr++; digits++; /* digits */ } if((ptr&lt;str.length) &amp;&amp; (str[ptr] === '.')) { ptr++; /* decimal point...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 02 Nov 2017 17:20:57 -0000</pubDate><guid>https://sourceforge.net/p/bcmath-js/bugs/4/?limit=25#344c</guid></item><item><title>Rob posted a comment on ticket #4</title><link>https://sourceforge.net/p/bcmath-js/bugs/4/?limit=25#f74d</link><description>Of course, the ptr then doesn't have to be incremented inside the loop anymore. for(;ptr &lt; str.length;++ptr) { //bcmath.isdigit(str[ptr])) { //ptr++; strscale++; /* digits */ }</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 02 Nov 2017 16:59:40 -0000</pubDate><guid>https://sourceforge.net/p/bcmath-js/bugs/4/?limit=25#f74d</guid></item><item><title>Rob created ticket #4</title><link>https://sourceforge.net/p/bcmath-js/bugs/4/</link><description>Fix for Undefined Property warning</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob</dc:creator><pubDate>Thu, 02 Nov 2017 16:57:14 -0000</pubDate><guid>https://sourceforge.net/p/bcmath-js/bugs/4/</guid></item></channel></rss>