<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def drop_trailing_zeros_decimal(num):
 """ Drops the trailinz zeros from decimal value. Returns a string """

    out = str(num)
    return out.rstrip('0').rstrip('.') if '.' in out else out