calculating with float...

Hi, how can I manage the following calculation, without external librarys.

A = X / (Z / Y)

A, X, Z, Y are all short, but the 2 results shouldn be rounded...is it possible in java me to calculate something like this ?

...mhh...Im sorry for this newbish question, maybe its quite simple, but Im wonder about..

[332 byte] By [Elfblood] at [2007-11-26 12:16:23]
# 1
No, you cannot do this without external libs in CLDC 1.0. floating point is not supported.You might scale all numbers factor 10 or 100 and then do the division. It will give you more accuracy.
deepspace at 2007-7-7 14:52:21 > top of Java-index,Archived Forums,Socket Programming...
# 2
In CLDC 1.0 you can not , coz there is no float.but in CLDC 1.1 u can .Still there is a way to do float point calculation with exernal float calss.search around u will find one
aromr at 2007-7-7 14:52:22 > top of Java-index,Archived Forums,Socket Programming...
# 3
--deleted--
ravi501 at 2007-7-7 14:52:22 > top of Java-index,Archived Forums,Socket Programming...