TI-Basic or Python?
In either case: enter it as a string, parse looking for the colon (:) and extract the hours & minutes, do the mathematics, then display in a time format.
Or… ask for the hours and minutes using separate input statements.
--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/c854547d-3da3-4689-a0d1-9f51781c53c6n%40googlegroups.com.
If you are up for it… in Python you can create a time class that handles all the work for you. That would be interesting!
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/2de5c587-e167-48a2-9e10-ca62e2a697f8n%40googlegroups.com.
Just don’t bump into the Python time module (included).
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/0de433fb-5195-4bbe-aaf6-bd5346682f7an%40googlegroups.com.
I don’t see an issue with a string containing a colon. Care to send me your file?
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/da01fb80-d2d5-4564-986d-59cf9ada13b7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/4a6e7e50-de4b-4aeb-8462-32ed922b0e0fn%40googlegroups.com.
To unsubscribe send email to tinspire+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+unsubscribe@googlegroups.com.