Meaningless Drivel is fun!
The moose likes Java Micro Edition and the fly likes Motorola Phones and Floats Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Motorola Phones and Floats" Watch "Motorola Phones and Floats" New topic

Motorola Phones and Floats

Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
I'd like to get a new phone that has the ability to program it using J2ME. Can anyone tell me which phones this can b done with? Also, when I played with J2ME before, it didn't have support for floating math. As I understand it Motorola has built some stuff on top of J2ME (like support for lightweight components), so does anyone know if you can use floats in your programs that you write for these Motorola phones?
With Respect,
Matt DeLacey
Yu Feng

Joined: May 31, 2001
Posts: 12
Have you tried the MathFP package for KVM?
"MathFP is implemented to provide developers the capability to do calculations involving fractions on java virtual machines with no support for floats or doubles. For example the KVM (K Virtual Machine) and the CLDC (Connceted Limited Device Configuration) do not support these primitive datatypes."

Yu Feng<BR>Author of <A HREF="" TARGET=_blank rel="nofollow">JSP Tag Libraries</A><BR>View <A HREF="" TARGET=_blank rel="nofollow">Sample Chapters</A> on-line.
I agree. Here's the link:
subject: Motorola Phones and Floats
It's not a secret anymore!