@staticmethod
def write_decimal(value, file):
    """
        Writes a decimal as a field to a CSV file.

        :param decimal.Decimal value: The decimal.
        :param T file: The file.
        """
    file.write(str(value))
