Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decimal number convert to HH:MM

Status
Not open for further replies.

antiskeptic

Programmer
Jul 14, 2004
71
US
I know I've seen this formula before...but I can't for the life of me remember it. *argh*

I have a field that displays a number 40.5...I need it to display in hours and minutes...like this - 40:30

Anybody got any ideas?

Sincerely,
Antiskeptic
 
You need Time (number) to convert it to a time. Then Time (HH, MM) will display it.

It helps to give your Crystal version, since newer versions have extra options, and some extra problems. I use Crystal 8.5.


[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Sorry...I wasn't even thinking about the version having any real bearing on this problem...but you are right, I guess it could. I am working with version 9.

Good point Madawc, thank you!

Antiskeptic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top