Change 'nodeValue' to 'value'
Improve how decimals are handled
Update interface to show before and after SVG and updated code