Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

variable formula help

$
0
0

Hello,

 

I have a report that has a column that shows time in seconds.

 

time

-600

10920

7140

 

I need to convert to hrs:mins

 

I made the following variable

 

var1=FormatNumber(Floor([time]/3600) ;"00") + ":" + FormatNumber(Floor(Mod([time] ;3600)/60) ;"00")


But it gives this


time

 

-1:10
03:02
01:59
-600 should be -10
Can anyone help?
Thanks
Chuck

Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>