Can you use double or float on Blackberry?
If so, in which OS version or hardware model?
Edit: I believe the answers I get here, but then something else must be the problem.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apparently floating point doesn’t work on some versions of Blackberry; see the comments.
Bow, if a J2ME device implements the CLDC 1.0 profile, the manufacturer is not required to include support for floating point arithmetic in the platform: see
In CLDC 1.1, floating point support is mandatory.
In comments on other questions, you say that Blackberry is CLDC 1.1.
If your Blackberry’s floating point support doesn’t work and it really claims to implement CLDC 1.1, then that’s either a bug in the execution platform or the build tool-chain, or a problem with the way you are using the tool-chain. (I don’t develop J2ME stuff, so I can’t be more specific.)