[Fixed 2.7.2] Bad Documentation: "tonumber", Not "tovalue

I was doing some scripting and came across the documentation for the renoise.Views.Valuefield object (in Renoise.ViewBuilder.API.lua). It lists the “tostring” and “tovalue” functions for the valuefield, but the comments describing the properties sometimes refer to the “tovalue” function as “tonumber” instead. Lo and behold, when I went to run my code, I got an error, “ViewBuilder: unknown property ‘tovalue’.”, and it seems that the actual function was “tonumber” all along, as no “tovalue” property exists for the valuefield. This documentation should be fixed.

Thanks for reporting. Fixed this in the xrnx repositories.