Extra 0 in set>comment

riotchild's icon

riotchild

4月 21 2022 | 5:03 午前

Hi folks,

I have a simple (set 1.1 k) message going to a [comment], but comment is displaying 1.10 k and I don't want that extra 0 in there. I think it's something regexp can solve, but I'm not sure how. Can anyone assist?

Thanks in advance.

Max Patch
Copy patch and select New From Clipboard in Max.

Andy Maskell's icon

Andy Maskell

4月 21 2022 | 11:14 午前

set is treating the text as two separate items - a floating point number and a symbol. To have it passed as a single symbol just put it in double quotes:

Roman Thilenius's icon

Roman Thilenius

4月 21 2022 | 11:19 午前


or at least put the number in quotes, then it is a symbol.