Below method returns the amount in double format in Java.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
double getFormattedAmount(String amount){ String digitalAmount = amount.replaceAll("[\$,]",""); return Double.parseDouble(digitalAmount); }
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
No comments:
Post a Comment