def float_precision(float_number):
    """Get float decimal precision

    :argument float_number: floating point number
    :type float_number: float

    :returns int

    """
    decimal = str(float_number).split('.')[-1]
    return len(decimal)