I'm getting integer value from db as example integer value = 47. But when I pass that value to front end I need to convert it as minutes.
My scenario is I have 4 steps each step I'm getting an integer value, and after getting integer values I get the SUM of that 4 values. Then I have to convert that to minutes or hours.
Integer totalDuration = (engageDuration + evaluateDuration + explainDuration + extendDuration);
OutPut:-
"totalDuration": 47
I need to convert this output for minutes and send it back to the front-end.