{"name":"BIS_fnc_inverseLerp","title":"BIS fnc inverseLerp","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_inverseLerp","revid":349097,"updated":"2023-11-08T14:49:33Z","groups":["Interpolation"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","description":"Inverse of BIS_fnc_lerp.","syntaxes":[{"syntax":"[currentValue, targetValue, alpha] call BIS_fnc_inverseLerp","params":[{"name":"currentValue","type":"Number","description":"start","type_expr":"Number"},{"name":"targetValue","type":"Number","description":"end","type_expr":"Number"},{"name":"alpha","type":"Number","description":"alpha","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"interpolated value"}}],"examples":[{"code":["[10,20,0.5] call BIS_fnc_inverseLerp;"]}],"see_also":["BIS_fnc_clerp","BIS_fnc_slerp","BIS_fnc_lerp","BIS_fnc_lerpVector"]}