I'm trying to send this kind of date from Max to Arduino over serial port.
So I would need to convert numbers 1 to 001, 2 to 002, 10 to 010 and so on.
There is the patch so far. There are four different values between 0 and 180, that would need to be formatted from 10 2 40 180 to 010002040180. It works other ways, except it drops the first zeros out.