We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


The SVGNumber interface corresponds to the <number> basic data type.

An SVGNumber object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.


A float representing the number.

Note: If the SVGNumber is read-only, a DOMException with the code NO_MODIFICATION_ALLOWED_ERR is raised on an attempt to change the value.


This interface doesn't provide any specific methods.


Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGNumber' in that specification.
Candidate Recommendation No change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGNumber' in that specification.
Recommendation Initial definition

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? (Yes) ? ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support (Yes) ? ? ? ?

Document Tags and Contributors

 Contributors to this page: Sebastianz, mattwojo, fscholz, kscarfone, Sheppy, Jeremie
 Last updated by: Sebastianz,