Article View: be.comp.programming
Article #15192Re: seconden naar minuten omzetten
From: timvw
Date: Tue, 31 Oct 2000 12:58
Date: Tue, 31 Oct 2000 12:58
15 lines
1664 bytes
1664 bytes
Wim Dumon < > volgens mij mag uw if weg en moet je de laatste 2 regels omdraaien: > int aantalSeconden = 244; > int aantalMinuten = aantalSeconden / 60; > aantalSeconden = aantalSeconden %60 ; > int aantalUren = aantalMinuten /60; > aantalMinuten = aantalMinuten % 60; yupz, je hebt gelijk. die if die heb ik er geplaatst om eventueel overbodig werk te vermijden :) maar die had er dan eigenlijk al vroeger moeten staan, maar dan if (aantalSeconden > 60) .........
Technical Details
Message-ID:
<972997215.641969@marvin>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!fr.usenet-edu.net!usenet-edu.net!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mailReferences:
<972966227.368320@newsreader2.wirehub.nl> <972966657.888142@marvin> <39FE9269.2531E02C@easics.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,13b615c76e8f3a36 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2000-10-31 05:00:25 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!fr.usenet-edu.net!usenet-edu.net!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail From: "timvw" <timvw@kotnet.org> Newsgroups: be.comp.programming Subject: Re: seconden naar minuten omzetten Date: Tue, 31 Oct 2000 13:58:48 +0100 Organization: KULeuvenNet Lines: 19 Message-ID: <972997215.641969@marvin> References: <972966227.368320@newsreader2.wirehub.nl> <972966657.888142@marvin> <39FE9269.2531E02C@easics.be> NNTP-Posting-Host: marvin.kulnet.kuleuven.ac.be X-Trace: naxos.belnet.be 972997216 9276 134.58.127.3 (31 Oct 2000 13:00:16 GMT) X-Complaints-To: abuse@belnet.be NNTP-Posting-Date: Tue, 31 Oct 2000 13:00:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Cache-Post-Path: marvin!unknown@kn-10-0-51-001.kotnet.kuleuven.ac.be X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)