Closed RobinvanderVliet closed 4 months ago
Nice, thank you. Wasn't aware all these zeroes were added. I think you can even do this in one line rtrim($string, '0.');
Nice, thank you. Wasn't aware all these zeroes were added. I think you can even do this in one line
rtrim($string, '0.');
I thought so at first, but that would change "10.0" to "1".
Good point, you can use tag 5.0.5
All those redundant zeros are kind of wasteful, they don't add anything.
My SVG file went from 27 kB to 17 kB.