Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 01 May 2008 at 10:13pm
I would just create a new formula and divide by 60.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 02 May 2008 at 1:47pm
If you need to show the time in Hours and Minutes instead of, for example 1.75 hours, try this:
toText(({ticket.Status_History_Resolved_TIME}\60), 0) + ":" +toText(({ticket.Status_History_Resolved_TIME} mod 60), "00")
Note that there is a backslash ('\') instead of a regular "divide" slash ('/') in the first part. This does an "integer divide" which just gives you the integer part of the result without rounding it.
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