```python
def decimal_to_Octal(deciNum):
    """
    Converts a decimal number to its octal representation.
    """
    if deciNum == 0:
        return "0"

    octal_string = ""
    quotient = deciNum

    while quotient > 0:
        remainder = quotient % 8
        octal_string = str(remainder) + octal_string
        quotient = quotient // 8
        
    return octal_string
```