import math


def get_lat_dmm(lat):
    """Takes an OLEX float and converts it into DMM latitude notation (eg. 51'6.432 N)

    :param lat: An 'Olex float' representing a latitude coordinate.
    :type lat: float

    :return: A latitude coordinate (eg. 51'6.432 N)
    :rtype: str
    """
    lat_d = math.trunc(math.fabs(lat / 60))
    lat_m = math.fabs(lat) - (math.fabs(lat_d) * 60)
    lat_m = str(lat_m)
    lat_m = lat_m[:lat_m.index('.')+4]
    if lat > 0:
        return str(lat_d) + "'" + lat_m + " N"
    else:
        return str(lat_d) + "'" + lat_m + " S"