The valueAsString property of the SVGLength interface represents the \'s value as a string, in the units expressed by SVGLength.unitType.
valueAsString
MDN Reference