Steve,
On a slight aside, this problem may not be so bad for you. Digital
representation of any floating point number is really an approximation.
But, our convention for writing floating point numbers (not on a computer)
actually allows for two representations for any non-zero number that
"termi
Hi Steve,
It's a problem inherent to floating point computations. U may use the
double datatype to increase precision. If you need arbitrary precision
computations, u should use the Java Ultimate Math Package, written by
the Utrecht University, Netherlands. It is available @:
http://member
A small thing:
Whenever I give my Java APplication a nice name in the Titlebar, it says
in the titlebar "No Name".
Whenever I try to give my little Java Frame/Java Window/Java Dialog a
nice name in the Titlebar, it says "No Name" in the titlebar.
Anybody any idea why that is?
--
Maarten van L
On Fri, 4 Sep 1998, Steve Curry wrote:
> I have installed JDK 1.1.6 on my RedHat 5.0 Linux box and when performing
> mathmatical calculations in java I get incorrect results. Take for example
> (float)14.39 I can do a basic System.out.println and it will print out on
> the command line: 14.3899