def decimal2sexagesimal(raw_num):
    """
    This is for transforming the data into sexagesimal and keep parts of digits
    rule is:
        keep the integer part and transfer the fractional part
    :param raw_num:  float
    :return: sexagesimal number
    """
    digree = int(raw_num)
    frac = raw_num - digree
    m = int(frac * 60)
    s = round((frac * 60 - m) * 60, 2)

    return digree, m, s