def _ndec(x):
    """
    Return input float value rounded up to nearest tenth decimal place.

    Parameters
    ----------
    x: float
        Input value to be rounded up.

    Returns
    -------
    rounded: float
        input value rounded up to nearest tenth decimal place
    """
    if x > 0:
        return int(x * 10 + 0.5) / 10.0
    else:
        return int(x * 10 - 0.5) / 10.0
