I understand how to delete part of a string from following this example
But the problem is my string is constantly changing.
str is giving back a value of: 80.30000 this changes depending on the value selected. What I'm trying to is remove all of the characters after the . so it should look like this.
str = 80
the string value is currently stored in str '80.30000'
Any suggestions ?