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

前端 未结 0 2031
闹比i
闹比i 2021-02-12 08:41

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.         


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