How to convert a number to seconds

How can I convert a number to seconds?..

I receive a number, for example 150. It should display 2,30…
How do I do that?