{"name":"ln","title":"ln","type":"command","url":"https://community.bistudio.com/wiki/ln","revid":369410,"updated":"2024-09-03T18:43:25Z","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":"Returns the natural logarithm of x.","syntaxes":[{"syntax":"ln x","params":[{"name":"x","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"x"}}],"examples":[{"code":["_nlog = ln 10;"]},{"code":["_euler = exp 1;\n_euler = ln _euler; // Returns 1"]}],"see_also":["Math Commands"]}