File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Float in J2ME

 
Henry Karpynskyi
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am i blind or there is NO double in j2me?
 
Michael Jaeger
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you are not blind. There are no floating point types in MIDP. As a work around you can use the MathFP package from http://www.jscience.net/ or wait for MIDP 2.0 which will have support for floats and doubles.
You may want to take a look at http://wireless.java.sun.com/midp/ttips/fixpoint/
Cheers
Michael
 
Henry Karpynskyi
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Jaeger:
No, you are not blind. There are no floating point types in MIDP. As a work around you can use the MathFP package from http://www.jscience.net/ or wait for MIDP 2.0 which will have support for floats and doubles.
You may want to take a look at http://wireless.java.sun.com/midp/ttips/fixpoint/
Cheers
Michael

Thnak you
 
Nikolay Klimchuk
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also use Float class from J2ME section of my site http://henson.newmail.ru
Originally posted by Henry Karpynskyi:
Am i blind or there is NO double in j2me?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic