When using Pattern.matches normal notation converts to scientific and does not match

后端 未结 0 482
隐瞒了意图╮
隐瞒了意图╮ 2020-12-20 18:31

I have this problem where I use Pattern.matches when I try to match 0.004 (for example) to a regex that should match it. The problem is when I try to match 0.004 turns to 4.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题