Hi all,

This is just to let you guys & gals know that I have created a Calc
Add-In package to demonstrate what the decimal arithmetic can do for
you.

The package can be downloaded from

http://kohei.us/ooo/decimal/

This package will introduce 6 new functions all starting with "DEC_". 
The basic four arithmetic operations: addition, subtraction,
multiplication and division, as well as two other functions DEC_EXP()
and DEC_PI() are supported.  You can arbitrarily specify the precision
for each operation.

If you happen to be running Fedora Core 3, I have created a binary
package for you.  The binary should also run on other x86 Linux
platforms where a version of gcc compatible with gcc 3.4.4 (the
compiler I used to create the binary) is used.

To use, just remember that the numbers are represented as text, so you
can't mix it with Calc's built-in cell functions which expect numbers.
 To pass a result from one of the DEC_ functions to a built-in
function, you must use VALUE() to convert it into a number.  By doing
so, you will of course lose the precision.  But that's just a way of
life.

That's it folks.  Hope you'll enjoy it.

Kohei

-- 
Kohei Yoshida
OpenOffice.org Calc contributor
http://kohei.us/ooo/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to