How to remove positive (+) sign from a number?

artistical's icon

Just wondering if anyone knows how to remove a positive (+) sign from a float number? e.g +0.47 to 0.47

I've been using the "fromsymbol" function to remove the negative (-) sign, but cant seem to find anything to remove positive.

Without removing the (+) sign, number boxes, sliders, etc. wont read the number.

Many thanks!

Tim Lloyd's icon

[regexp [+] @substitute 0] will work but there may well be a better way :)

artistical's icon

Great, thanks Tim.

Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Someday, I may learn regexp, but in the mean time here's a brute force way:

Where are the + signs coming from, anyway?

Tim Lloyd's icon

"Someday, I may learn regexp"

... me too :)