A volume button for my chromecast

Thanks to @Mark_Homey for noticing a small gap in this flow

:pray:But I need some help here :question::question:
How do I make a math.js command that limits the value between 0 and 1?
I tried math.clamp but that seems to be not supported (does not result in a value)