Recognizers-Text icon indicating copy to clipboard operation
Recognizers-Text copied to clipboard

[Python | ZH Currency] Information loss in parsed number value and result in scientific notation

Open LukeALee opened this issue 5 years ago • 2 comments

Describe the bug when I try to recognize "壹佰壹拾万贰仟陆佰壹拾肆元陆角", I get the "value" of "1.10261e+06", in this way I lost "肆元陆角" information. And the excepted value is "1102614.06"

Is it a bug? Or is there a parameter to control if the return is in scientific notations mode?

LukeALee avatar Aug 26 '20 10:08 LukeALee

Works correctly in .NET. Further analysis in Python to be done.

tellarin avatar Aug 27 '20 01:08 tellarin

Happens in .NET now as well: https://dotnetfiddle.net/1ODiT2

CDirkx avatar May 16 '23 15:05 CDirkx