the offer function - but with floats

queglay's icon

the offer function is very cool. im wondering if theres a way or alternative to do it with floats? thanks for any help guys. i have tried storing a multiplied value in, but the range is too limiting.

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

here is something i tried, for some reason it is not working perfectly for the X value (its just a decimal off, and i cant figure out why!), but it does work for the Y value. It should send you in the right direction anyway! Oh and yes, the patch is a bit of a mess inside :-(

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

I figured it should be doable with [coll] and converting the floats into symbols for storing and retrieving. Seems to work fine. There's the float precision issue (try typing 55.567 into a message box and you'll see what I mean), but as long as the numbers are consistent, you can retrieve the data.

queglay's icon

thanks guys! coll will work. it just needs to remove the value after it comes out thanks!