Hi All,
I have a SLC 500 & RSView 32 project that exports reports to Excel 2003. A portion of the report has a column with "total seconds" that grab the .ACC values out of specific timers in the PLC.
I would like to display the "total seconds" as mm:ss in the report. I don’t really care where the conversion takes place, either in the PLC or Excel.
I realize I can just divide the total seconds by 60 & that will give me the accurate "minutes". But then I am left with a fraction after the decimal point that I don’t know how to convert. I guess I should say, I don’t know how to separate the whole number from the fraction after the decimal point.
Any help would be appreciated. Thanks in advance.
afish
I have a SLC 500 & RSView 32 project that exports reports to Excel 2003. A portion of the report has a column with "total seconds" that grab the .ACC values out of specific timers in the PLC.
I would like to display the "total seconds" as mm:ss in the report. I don’t really care where the conversion takes place, either in the PLC or Excel.
I realize I can just divide the total seconds by 60 & that will give me the accurate "minutes". But then I am left with a fraction after the decimal point that I don’t know how to convert. I guess I should say, I don’t know how to separate the whole number from the fraction after the decimal point.
Any help would be appreciated. Thanks in advance.
afish