fix: not compatible with decimal
Merge pull request #52 from chenhouwu/master

 fix: not compatible with decimal. Thanks @chenhouwu