@staticmethod
def _fromdecimal(value):
    """
        Convert a Decimal to a string representation suitable for WikiBase.

        None value is returned as is.

        @param value: decimal number to convert
        @type value: Decimal
        @rtype: str
        """
    if value is None:
        return None
    return format(value, '+g')
