Project 3: Reading Peak, offpeak and card


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Ian Kim on September 26, 2001 at 18:31:55:

How do I keep Peak as an INT so I can calculate the charges with it later on and at the samme time display it as 7:40 or whatever...to display it, I have to declare it as a string..yet I can't calculate with a string. And how do you convert the 7:50 hours/minutes to decimals so I can calculate?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]