math.round all dimensions
Hi, guys. I need to math.round all dimensions. For example:
"350,000 mm" -> "350 mm",
"420,001 mm" -> "420 mm"
"419.97 mm" -> "420 mm"
and so on. All in one script.
The trick is I dont know how to play with numbers and characters at the same time, I only know how to math.round numbers.
Thank you.