• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2ME - Double class

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My J2ME application recognizes the java.lang.Integer class and the
java.lang.Long class, but it will not recognize the java.lang.Double class.
I have to use the Double class, because I have to display a double as a
string. So, I need to wrap the double value in the Double class and then
use Double.toString() in order to get a string that I can print out. How
come it will not recognize the Double class? Is the J2ME Wireless Toolkit
supposed to recognize it? If so, how can I make it recognize it?
Thanks!
 
wrangler
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you've not already done so, you might check out the defined java.lang types available in CLDC 1.0 and CLDC 1.1, for example from the API references for them downloadable from here: http://java.sun.com/reference/api/

This thread may also help: https://coderanch.com/t/227577/JME/Mobile/me
[ July 26, 2004: Message edited by: James Reilly ]
 
Yes, my master! Here is the tiny ad you asked for:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic