<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Blissofbeing</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Blissofbeing"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Blissofbeing"/>
	<updated>2026-07-22T15:39:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:Proper_Money_Handling_(JSON-RPC)&amp;diff=9723</id>
		<title>Talk:Proper Money Handling (JSON-RPC)</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:Proper_Money_Handling_(JSON-RPC)&amp;diff=9723"/>
		<updated>2011-06-04T22:54:15Z</updated>

		<summary type="html">&lt;p&gt;Blissofbeing: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RE: best practices in ECMAScript:&lt;br /&gt;
Just converting to base units doesn&#039;t magically fix the issues; if I have 1.0BTC == 100000000.0 base units and I need to divide that value into three equal pieces, I&#039;m going to run into issues whether the result is 0.3333333.... or 3333333.33333...&lt;br /&gt;
&lt;br /&gt;
And the fixes are the same:  either round to the nearest .0000001 or to the nearest 1 before display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ruby I think the syntax is:&lt;br /&gt;
&lt;br /&gt;
(f * 1e8).round.to_f / 1e8&lt;br /&gt;
&lt;br /&gt;
Correct?&lt;/div&gt;</summary>
		<author><name>Blissofbeing</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:Proper_Money_Handling_(JSON-RPC)&amp;diff=9722</id>
		<title>Talk:Proper Money Handling (JSON-RPC)</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:Proper_Money_Handling_(JSON-RPC)&amp;diff=9722"/>
		<updated>2011-06-04T22:54:02Z</updated>

		<summary type="html">&lt;p&gt;Blissofbeing: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;RE: best practices in ECMAScript:&lt;br /&gt;
Just converting to base units doesn&#039;t magically fix the issues; if I have 1.0BTC == 100000000.0 base units and I need to divide that value into three equal pieces, I&#039;m going to run into issues whether the result is 0.3333333.... or 3333333.33333...&lt;br /&gt;
&lt;br /&gt;
And the fixes are the same:  either round to the nearest .0000001 or to the nearest 1 before display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Ruby I think the syntax is:&lt;br /&gt;
&lt;br /&gt;
=Ruby&lt;br /&gt;
(f * 1e8).round.to_f / 1e8&lt;br /&gt;
&lt;br /&gt;
Correct?&lt;/div&gt;</summary>
		<author><name>Blissofbeing</name></author>
	</entry>
</feed>