public static void setAtt(Element el, String name, double d) {
    el.setAttribute(name, fmt(d));
  }
public static void setAtt ( Element el , String name , double d ) { el . setAttribute ( name , fmt ( d ) ) ; }
Set a SVG attribute

@param el element
@param name attribute name
@param d double value