import math


def deg2rad(degrees):
    """
    Converts degrees to radians.

    Args:
        degrees: A degree value.

    Returns:
        The equivalent value in radians.
    """
    return math.pi*degrees/180.0