Search found 2 matches

by iggy
Sun Dec 16, 2007 11:34 pm
Forum: QBasic / QuickBasic related
Topic: converting decimal to HH:MM:SS?
Replies: 5
Views: 3643

ive found it meself :D

CLS
PRINT "Hallo, Met dit programma kun je Decimale tijden omrekenen naar UU:MM:SS"
INPUT "Voer een decimaal getal in alstublieft", getal!

uren = FIX(getal!)
switch1 = (60 * (getal - uren))
minuten = FIX(switch1)
switch2 = switch1 - minuten
seconden = FIX((switch2 * 60 ...
by iggy
Sun Dec 16, 2007 7:46 pm
Forum: QBasic / QuickBasic related
Topic: converting decimal to HH:MM:SS?
Replies: 5
Views: 3643

converting decimal to HH:MM:SS?

hello everyone,

for school i got an assignment, wich stated we had to create a program in Quickbasic that would let you convert a decimal time (like 3,14 hours) to HH:MM:SS.

now i know how to do this on paper or in my head or what ever, but i have absolutly no clue how i should do this in ...