How can I do that without float or double ?
Hi Guys,
I'm trying to develop my first application (a currency converter) and I've got a little problem as I can't use float or double type on the BB ... I mean how can I compute for ex 5 / 2 and get 2.5 as answer, what type can I use ? Thanks in adavance |
You could try 500/2 and just move the decimal over when you convert to string....
|
Ok I've found a MathFP that is supposed to solve the double and float absence problem.
By the way I'm new to J2ME ;) So I've the 2 jar files into my project and the compilation is ok but when I launch my application I have this error message: Code:
Starting MyApp Thanks in advance |
You'll have to include the jar file in the project itself in the JDE.
Cheers, Andrew |
All times are GMT -5. The time now is 12:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.