#NEWLINE# @ any_field . register ( models . FloatField ) #NEWLINE# def any_float_field( field , **kwargs ) : #NEWLINE# #INDENT# "\n    Return random value for FloatField\n\n    >>> result = any_field(models.FloatField())\n    >>> type(result)\n    <type 'float'>\n    " #NEWLINE# min_value = kwargs . get ( 'min_value' , 1 ) #NEWLINE# max_value = kwargs . get ( 'max_value' , 100 ) #NEWLINE# precision = kwargs . get ( 'precision' , 3 ) #NEWLINE# return xunit . any_float ( min_value = min_value , max_value = max_value , precision = precision )