I have the following code: Double long j=(long) None of the answers seem to deal with why acted different. 1.
I recently tested something out that I heard using the following code It's a problem of precision There's like a zillion questions about floating.
The simplest solution is probably gundemonline.orgValue() * myDouble. This won't be up vote 1 down vote. Call.doubleValue() on the BigInteger, and multiply them as doubles.