Negative to positive

FetaPapa's icon

Hi.

This is pretty silly.

I'm getting both positive and negative float values from an object.
I want to transform them to only positive.
So I multiply the number with itself and then sqrt it.

SI'm sure there are computationally better ways, any suggestions?

Thanks

bkshepard's icon
FetaPapa's icon

thanks!