Implement float is_integer method
Aperta
Contributhon2019
- Lingua principale
- Go
- Stelle
- 1k
- Fork
- 105
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## python
```
>>> a = 10.0
>>> type(a)
>>> a.is_integer()
True
```
## gpython
```
>>> a = 10.0
>>> type(a)
>>> a.is_integer()
Traceback (most recent call last):
File "", line 1, in
FIXME line of source goes here
AttributeError: "'float' has no attribute 'is_integer'"
```
`is_integer()` method does not exist.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.