0.5 L/s = ml/h would be clearer if written as 0.5 L/sec = ml/hr.
Start with 0.5 L/sec:
0.5 L/sec 1000 ml 3600 sec
--------------- * ------------- * ---------------- = 1,000,000 ml/hr
1 1 L 1 hr