Here’s how to solve it:
- Use a Contains inside an if statement to see if your value contains a dot and if it does, replace it with a comma.
- Use a EndsWith inside an if statement to see if your value ends with 0 and if it does, use Remove(yourStringLength - 1, 1) to remove it.