Implement float is_integer method
Open
Contributhon2019
- Dominant language
- Go
- Stars
- 1k
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.