def float_repr(value, precision_digits):
 return (('%%.%sf' % precision_digits) % value)

def float_repr ( value , precision_digits ) : return ( ( '%%.%sf' % precision_digits ) % value )
returns a string representation of a float with the the given number of fractional digits .