def depart_subfig_html(self, node):
    figoutput = ''.join(self.body)
    figoutput = figoutput.replace('class="figure', (float(node['width']) * 100) % 'style="width: %g%%" class="subfigure')
    self.body = self.__body
    self.body.append(figoutput)
dataset/ETHPy150Open xraypy/xraylarch/doc/sphinx/ext/subfig.py/depart_subfig_html/swapped operands of `%`