def _shorten_decimals(self, fValue : float, iDecimals : int) -> float:
    """
    Description
    -----------
    Method for reducing the amount of decimals of a float value

    Parameters
    ----------
    `fValue` : float
        Value whose decimals should be cut

    `iDecimals` : int
        Amount of decimals

    Return
    ------
    `fValue` : float
        Value whose decimals were cut

    """
    # Initalize variabels
    iTemp = 1
    for iIndex in range(iDecimals):
        iTemp *= 10
    
    return float(int(fValue * iTemp)/ iTemp)