wire perameters on door

im using a max door object and ive placed a door handle which is linked to a dummy set at the pivot of the door. im trying to wire it do that when i use the door open degrees or the rotate the point helper they both move. i figure it must be converting deg to rad or something but i just cant figure out the equation to use

ok. i got it as -degtorad(Open__degrees_) and -radtodeg(z_rotation)