If anyone can look at a problem I have in selenium.
I try to access the result in the above calculator with:

```
public String getAttributeValue(WebElement element) {
    return element.getAttribute("value");
}

```

When the result is a complete integer (such as 1, 2, etc.) the method succeeds, but when the result is with point (such as 0.5) I get this error:

> 
> java.lang.NumberFormatException: For input string: "0.5" at
>  java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> 
> 
> 

I probably have to change the way I look, or I miss something.
I'd love to help thank you.

[See the dom picture here !!!!! :-)](https://i.stack.imgur.com/ugpDa.png)