{"name":"exp","title":"exp","type":"command","url":"https://community.bistudio.com/wiki/exp","revid":338163,"updated":"2023-02-23T23:48:34Z","groups":["Math"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","description":"Exponential function with the base [e](https://en.wikipedia.org/wiki/E_(mathematical_constant)). Equal to `e^x`.","syntaxes":[{"syntax":"exp x","params":[{"name":"x","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"x"}}],"examples":[{"code":["_e = exp 1; // Returns e (2.7182...)"]},{"code":["ln exp 1; // Returns 1"]}],"see_also":["Math Commands"],"notes":[{"user":"Franze","date":"2009-03-03T22:04:00Z","text":"Note that you cannot exponent a value greater than 88.72283554077147726999 (999 repeating), as this is beyond what the game can calculate."}]}