Formatting integer value
Formatting integer value
- Subject: Formatting integer value
- From: René Korthaus <email@hidden>
- Date: Mon, 14 Feb 2005 14:02:27 +0100
Hi everybody,
i have a problem: I read an integer value from an xml file (plist
format) which is the duration of a song.
The formatted integer value is like "325407", where 325 are seconds and
407 are milliseconds. Now i want to make a 3:25 string out of it to
display the duration of that song in a tableview. I cannot figure out
how to drop the 407ms off that integer value.
The xml file I'm reading from is the ITunes Music Library.xml file, so
if anywhone from iLife developement team is on the list, tell me how
ITunes does this... ;-D
Thanks for your answers,
Regards René Korthaus
-------------------------------------------------------------
The signature is currently on vacations.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden