<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: JavaScript number-formatting library updated</title>
	<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/</link>
	<description>Stay curious!</description>
	<pubDate>Wed, 09 Jul 2008 03:53:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Nicolas De Loof</title>
		<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13516</link>
		<author>Nicolas De Loof</author>
		<pubDate>Thu, 11 Oct 2007 09:15:38 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13516</guid>
		<description>that would also be nice to configure the group and decimal symbol beeing used. As a french user, I'm using "," for decimals and " " for hundreds.</description>
		<content:encoded><![CDATA[<p>that would also be nice to configure the group and decimal symbol beeing used. As a french user, I&#8217;m using &#8220;,&#8221; for decimals and &#8221; &#8221; for hundreds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas De Loof</title>
		<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13515</link>
		<author>Nicolas De Loof</author>
		<pubDate>Thu, 11 Oct 2007 08:26:43 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13515</guid>
		<description>I can't include your GPL code in an APACHE licensed project, as GPL requires me to license my work under GPL... For same reason I can dual license as the only license compatible with GPL is ... GPL.

Fyi, APACHE/BSD/MIT licenses are recognized free software licenses taht allow the code to be included in any software (even commercial) with the only restriction NOT to use the author name as a trademark, and to keep in source code the original copyright notices.

The issue with "0" is for formating 4 -&#62; "4" and 4.1 -&#62; "4.1" with the same pattern. From your test cases :

-&#62; 4.5, "0.00", "4.50", // OK : fixed number of decimals
-&#62; 4, "0.#", "4.0",     // I expected : "4" # should be for optional</description>
		<content:encoded><![CDATA[<p>I can&#8217;t include your GPL code in an APACHE licensed project, as GPL requires me to license my work under GPL&#8230; For same reason I can dual license as the only license compatible with GPL is &#8230; GPL.</p>
<p>Fyi, APACHE/BSD/MIT licenses are recognized free software licenses taht allow the code to be included in any software (even commercial) with the only restriction NOT to use the author name as a trademark, and to keep in source code the original copyright notices.</p>
<p>The issue with &#8220;0&#8243; is for formating 4 -&gt; &#8220;4&#8243; and 4.1 -&gt; &#8220;4.1&#8243; with the same pattern. From your test cases :</p>
<p>-&gt; 4.5, &#8220;0.00&#8243;, &#8220;4.50&#8243;, // OK : fixed number of decimals<br />
-&gt; 4, &#8220;0.#&#8221;, &#8220;4.0&#8243;,     // I expected : &#8220;4&#8243; # should be for optional</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13511</link>
		<author>Xaprb</author>
		<pubDate>Wed, 10 Oct 2007 16:50:38 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13511</guid>
		<description>It's possible it may conflict with Prototype.  I have not kept up with Prototype.

I don't have time to look into the details of licensing right now, and I would need to understand the other licenses deeply to make that decision.  You could dual-license your project if you wish.

I'm unclear from your description whether the 0's are necessary.  If you don't want them, you can use "#." instead, right?  What use case doesn't the existing behavior support?  It's supposed to be compatible with existing standards, so if it's not, a test case and patch would be great.</description>
		<content:encoded><![CDATA[<p>It&#8217;s possible it may conflict with Prototype.  I have not kept up with Prototype.</p>
<p>I don&#8217;t have time to look into the details of licensing right now, and I would need to understand the other licenses deeply to make that decision.  You could dual-license your project if you wish.</p>
<p>I&#8217;m unclear from your description whether the 0&#8217;s are necessary.  If you don&#8217;t want them, you can use &#8220;#.&#8221; instead, right?  What use case doesn&#8217;t the existing behavior support?  It&#8217;s supposed to be compatible with existing standards, so if it&#8217;s not, a test case and patch would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas De Loof</title>
		<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13510</link>
		<author>Nicolas De Loof</author>
		<pubDate>Wed, 10 Oct 2007 15:34:01 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13510</guid>
		<description>I just discovered that both "#.0000" and "#.####' format 4 as "4.0000". Is there any way to avoid those unecessary 0</description>
		<content:encoded><![CDATA[<p>I just discovered that both &#8220;#.0000&#8243; and &#8220;#.####&#8217; format 4 as &#8220;4.0000&#8243;. Is there any way to avoid those unecessary 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas De Loof</title>
		<link>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13509</link>
		<author>Nicolas De Loof</author>
		<pubDate>Wed, 10 Oct 2007 14:24:26 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2007/06/19/javascript-number-formatting-library-updated/#comment-13509</guid>
		<description>Hello,

your number formatting helped me lot. I just have two considerations :

- about licensing, could you double license it under LGPL and BSD/MIT or APACHE ? I'm writing an Apache-licensed project, and cannot integrate your lib as is due to licensing considerations.

- did you test your lib with Prototype ? I didn't tested myself but I thing it may conflict with http://www.prototypejs.org/api/number.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>your number formatting helped me lot. I just have two considerations :</p>
<p>- about licensing, could you double license it under LGPL and BSD/MIT or APACHE ? I&#8217;m writing an Apache-licensed project, and cannot integrate your lib as is due to licensing considerations.</p>
<p>- did you test your lib with Prototype ? I didn&#8217;t tested myself but I thing it may conflict with <a href="http://www.prototypejs.org/api/number." rel="nofollow">http://www.prototypejs.org/api/number.</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
