Here are some fragments from the same .svg file made and saved by Inkscape:
<svg width="150" height="150" version="1.1" viewBox="0 0 39.688 39.688" ... ... <path d="m-117.51 88.274c-1.6578 0.02054-2.2324 1.3125-4.1072 2.8502-0.85358...
The width and height are in px (because that was the unit I used to transform the shape - the values match). The viewbox unit is, apparently, in mm (because I used them to resize the document - again, the values match). So, svg doesn't care about mixing different units of measurement in the same file? Also, I couldn't find where it says specifically in the file which units are being used - very confusing.
However, what are the units of the path - I have no idea. They don't seem to match with node coordinates in Inkscape in whichever units. Is there any way to find out, or to pick the units when saving file? I do care because I want to round them to integers (I am going to import those files into Processing, and I don't want to deal with those long decimals there), and to round them, I need to know which units to round.