function floatToString(v) {
        if (Math.round(v) === v) {
            return '' + Math.round(v);
        } else {
            return v.toFixed(decimalPlaces);
        }
    }
Convert the Path to a string of path data instructions
See http://www.w3.org/TR/SVG/paths.html#PathData
@param  {number} [decimalPlaces=2] - The amount of decimal places for floating-point values
@return {string}