def decimal_btn(value):
    """Add a decimal point to current value."""
    if value.count(".") == 0:
        value += "."
    elif value.count(".") == 1 and value.count(" "):
        value += "."
    return value