Big Decimal provides an arithmetic that gives the results
that people expect, which is not available in Java today.
A decimal floating point arithmetic is
needed -- one which gives the same results as the arithmetic
that people learn at school.
Why IBM is offering this trial version: IBM is looking for
your evaluation and feedback on this technology. We want to
know that this works for you and is, in fact, useful. If so,
we will use your input through www.alphaworks.ibm.com/forums
in our proposals to make this extension of Java commercially
available to developers.
How it works: The BigDecimal class provides immutable
arbitrary-precision decimal numbers. The methods of the
BigDecimal class provide operations for fixed and floating
point arithmetic, comparison, format conversions, and
hashing. As the numbers are decimal, there is an exact
correspondence between an instance of a BigDecimal object
and its String representation; the BigDecimal class provides
direct conversions to and from String and character array
objects, and well as conversions to and from the Java
primitive types (which may not be exact) and BigInteger. The
internal representation of a decimal number is neither
defined nor exposed, and is not permitted to affect the
result of any operation. Operations on BigDecimal numbers
are controlled by a MathContext object, which provides
precision and other information. Default settings are used
if no MathContext object is provided.
Reallybig.com is the COMPLETE RESOURCE for all web builders! This
award-winning site is really big, with more than 1000 links to sites of
specific interest to web builders.
Included are the best places to find free
clipart, animations, backgrounds, icons and buttons, as well as huge amounts of
information about counters, cgi, Java, icons, promoting your site, and much
more.
Reallybig.com is for ANYONE who wants to develop pages on the internet, from
beginner to experienced website developer.
Click here for this terrific resource!
ANDOVER.NET E-COMMERCE
Buy some smart stuff from Andover.Net at
ThinkGeek