BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-22-2004, 05:55 AM   #1
Emdis
New Member
 
Join Date: Oct 2004
Location: Montpellier
Posts: 5
Default How can I do that without float or double ?

Please Login to Remove!

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
Offline  
Old 10-22-2004, 09:03 AM   #2
joshrl
New Member
 
Join Date: Oct 2004
Posts: 5
Default

You could try 500/2 and just move the decimal over when you convert to string....
Offline  
Old 10-22-2004, 09:05 AM   #3
Emdis
New Member
 
Join Date: Oct 2004
Location: Montpellier
Posts: 5
Default

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
Error starting MyAppxxx58; Module 'jmfp-bin-0.99' not found.
Any clue ?

Thanks in advance
Offline  
Old 10-24-2004, 04:59 PM   #4
berryapps
Thumbs Must Hurt
 
Join Date: Oct 2004
Posts: 60
Default

You'll have to include the jar file in the project itself in the JDE.

Cheers,
Andrew
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Cooking Performance Group Thermocouple 351302170058 picture

Cooking Performance Group Thermocouple 351302170058

$55.99



6802 II Digital Thermocouple Thermometer Dual Channel 2*K-Type Temperature Meter picture

6802 II Digital Thermocouple Thermometer Dual Channel 2*K-Type Temperature Meter

$24.40



9.8ft K Type 50x5mm 500C Probe Thermocouple Temperature Sensor Cable 3 Meters picture

9.8ft K Type 50x5mm 500C Probe Thermocouple Temperature Sensor Cable 3 Meters

$13.48



J Type Temperature Sensor Probe Circlip Type Thermocouple 1 Meters Cable picture

J Type Temperature Sensor Probe Circlip Type Thermocouple 1 Meters Cable

$15.39



Type K Thermocouple Temperature Sensor 2

Type K Thermocouple Temperature Sensor 2"Pipe Clamp 3' Cord Wide Range 350F HVAC

$19.99



TM-902C Digital Sensor LCD Thermometer Single Input K Type Thermocouple Probe picture

TM-902C Digital Sensor LCD Thermometer Single Input K Type Thermocouple Probe

$15.48







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.