This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Motorola Phones and Floats" Watch "Motorola Phones and Floats" New topic
Author

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
Greenhorn

Joined: May 31, 2001
Posts: 12
Matt,
Have you tried the MathFP package for KVM?
http://home.rochester.rr.com/ohommes/MathFP/
-yu
"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="http://www.amazon.com/exec/obidos/ASIN/193022009X/ref=ase_electricporkchop/107-7882751-0234939" TARGET=_blank rel="nofollow">JSP Tag Libraries</A><BR>View <A HREF="http://www.manning.com/shachor/chapters.html" TARGET=_blank rel="nofollow">Sample Chapters</A> on-line.
 
 
subject: Motorola Phones and Floats