FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

doing calculations in ME

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
saraharl



Joined: 13 Apr 2009
Posts: 1

PostPosted: Mon Apr 13, 2009 5:52 pm    Post subject: doing calculations in ME Reply with quote

I am writing a program that gets user input then does a series of calculations and displays the results. I am having several probs with this...
1: converting TextField and String to Float for use in calculations;
2: getting system time for use in If/Then statments (using different values in the calculations for different times of the day)

Eventually I would like to perminantly store some of the user input but for now I have made the data the default entry in the text field with the input constraint set to NUMERIC.
I have attached the code below. I am using NetBeans 6.5
Thanks,
Sarah



LowBS.java
 Description:

Download
 Filename:  LowBS.java
 Filesize:  25.54 KB
 Downloaded:  49 Time(s)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB