Alternative to class Double for CrEme.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Alternative to class Double for CrEme.

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    Puerto Rico
    Posts
    15

    Alternative to class Double for CrEme.

    Hi

    I need to change a String to a double. I used the following:

    Code:
    double cDigit = Double.parseDouble(matPhyQuantity);
    This work properly on the laptop but when I deploy the application to the mobile device it fails. It seems that CrEme does not support this class. Is there an alternative to accomplish this? Thanks in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    As I understand mobile devices (java me) doesn't support double at all, only integers.
    so you will have to build up your own double classes based on integers, or look at google if you can find work arounds for me.

Similar Threads

  1. JDOM Classpath Help Required
    By kpandya in forum Java
    Replies: 5
    Last Post: 01-15-2006, 08:10 PM
  2. Complex class won't compile
    By Mcody2 in forum Java
    Replies: 7
    Last Post: 12-02-2005, 12:29 AM
  3. Need Help With Multi Function Program
    By WackoWolf in forum C++
    Replies: 4
    Last Post: 10-17-2005, 05:22 PM
  4. Replies: 3
    Last Post: 10-03-2005, 12:57 AM
  5. Replies: 5
    Last Post: 10-17-2002, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center