Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Tue, 2010-11-30 at 01:35 -0800, John LeMoyne Castle wrote:
OOo Basic has had issues with its fixed point Currency type for a long time.  
I think the Basic Currency type deficiencies create a bar to adoption in the
minds of business users.  
Nothing says 'run away' like mangling the money numbers. 
Agreed !! and thanks for looking at this

Currency is presently implemented with a 64bit struct of 2 Int32s and the
math is done by the tools/bigint class. 
The attached patches replace the code to implement the Currency type with an
ISO C99 compiler supported 64 bit integer. 
In fact, the 64 bit int was already a member of the Sbx core data union.  
Main patch makes 1/2 kLOC reduction in sbx.
yeah, so you will have to give me some time to look at this ( not really
familar with the Currently type ) and I need to somehow filter out the
whitespace changes too ( probably I can regenerated the patch to do
that. 

regards,
Noel

p.s. are you aware of more iz issues related to this other than the 2
mentioned in the subject? be good to have as much test data as possible



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.