Does java have anything like the modf c function?  I checked the math class,
but there is just ciel and floor.  I can get the first part of the double
value by casting as to an int, but the fractional part is not so easy.  I
can get it as a double, but I'd like it as an integer.

So what I'm trying to do here is split the number 123.45 into 123 and 45.

Any thoughts?

Thanks

Jeff

To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to