4 Replies Latest reply on Apr 29, 2016 1:00 AM by Stanly Hoffman

    math.round all dimensions

    Stanly Hoffman Level 1

      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.