How to replace comma (,) with a dot (.) using java

前端 未结 0 1507
慢半拍i
慢半拍i 2021-02-12 08:18

I am having a String str = 12,12 I want to replace the ,(comma) with .(Dot) for decimal number calculation, Currently i am trying this :

 if( str.         


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