Turning a String Decimal To String Int by Using Regex

后端 未结 0 607
无人及你
无人及你 2021-01-31 04:49

I have below string;

\'line=\'P1: 6.0, P2: 5.0, P3: 10.3, P4: 7.0, P5: 10.0, P6: 6.0, P7: 4.0, P8: 5.8, P9: 5.0, P10: 5.0\'

I only want to delete .0\'s and keep th

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