How do you convert milligram per liter to percent?

You cannot. The milligram is a unit of weight and the litre a unit of volume. In the case of water only a litre happens to weigh a kilogram and therefore a milligram of water is 0.1 % of a kilogram and 0.1 % of a litre.