(self)
Generates an HTML representation of adjacency scores. This is represented as a decimal
        number.

        @return: A number formatted similar to "10.01"
Generates an HTML representation of adjacency scores. This is represented as a decimal
        number.
Generates an HTML representation of adjacency scores . This is represented as a decimal number .
def html(self):
        """
        Generates an HTML representation of adjacency scores. This is represented as a decimal
        number.

        @return: A number formatted similar to "10.01"
        """
        if not self.result is None and 'value' in self.result:
            t = Template('{{ result_value|floatformat:2 }}')
            c = Context({'result_value': self.result['value']})
            return t.render(c)
        else:
            return _('n/a')
def html ( self ) : if not self . result is None and 'value' in self . result : t = Template ( '{{ result_value|floatformat:2 }}' ) c = Context ( { 'result_value' : self . result [ 'value' ] } ) return t . render ( c ) else : return _ ( 'n/a' )