Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: sum total conversion from min. to hours Post Reply Post New Topic
Author Message
alarmsmith
Newbie
Newbie
Avatar

Joined: 04 May 2009
Online Status: Offline
Posts: 1
Quote alarmsmith Replybullet Topic: sum total conversion from min. to hours
    Posted: 05 May 2009 at 10:13am
I have a report where I sum the total of minutes spent by individual (the database has the info in minutes).  I need to have the total sum converted to hours (1.1 hours).  The sum totals are posted into several graphs that currently display in minutes but I need displayed in hours.  Please help.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 06 May 2009 at 6:58am
take your sum and divide by 60 (60 minutes in an hour):
sum({table.field}, {group}) / 60
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.