On Tue, Jan 31, 2012 at 9:33 AM, slush <sl...@centrum.cz> wrote: > excuse me if it was already discussed, but maybe using satoshis instead of > decimal bitcoin would be better choice? We all know about pains with proper > handling decimal numbers across of all implementations - and it's not only > about json-rpc.
Mixed bag of worms there, even ignoring what people have already implemented— if you make it use satoshis people who are working with things at COIN scale are inevitably going to end up multiplying numbers stored as radix-2 floating point to get satoshis and then are going to be confused when it comes out "wrong". Using decimal numbers at least lets them treat the values as strings and avoid arithmetic that will end up confusing them. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Bitcoin-development mailing list Bitcoin-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bitcoin-development