{"name":"a / b","operator":"/","title":"a / b","type":"command","url":"https://community.bistudio.com/wiki/a_/_b","revid":379202,"updated":"2026-10-30T20:31:37Z","groups":["Math","Config"],"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 quotient of two numbers. If the divisor is 0 a *Division by zero* error is shown but the script does not stop and the result of such division is assumed to be 0.\n\nAlternative syntax returns the Config entry with the given name (alias for >>, slightly slower but with higher precedence).","syntaxes":[{"syntax":"a / b","params":[{"name":"a","type":"Number","description":"dividend","type_expr":"Number"},{"name":"b","type":"Number","description":"divisor","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"quotient"},"form":"binary","left":{"text":"a"},"right":{"text":"b"}},{"syntax":"config / name","since":"arma1 1.00","params":[{"name":"config","type":"Config","type_expr":"Config"},{"name":"name","type":"String","type_expr":"String"}],"returns":{"type":"Config","type_expr":"Config","description":"config entry"},"form":"binary","left":{"text":"config"},"right":{"text":"name"}}],"examples":[{"code":["_result = 15 / 3; // result is 5"]},{"code":["_cfgVehicles = configFile / \"CfgVehicles\"; // identical to configFile >> \"CfgVehicles\" (but the order of precedence)"]}],"see_also":["Operators","configFile","missionConfigFile","campaignConfigFile","configName","config greater greater name","count"],"notes":[{"user":"ffur2007slx2_5","date":"2014-04-01T00:02:00Z","text":"(Arma 3 1.14) config / name can be composed to config >> name String or Array format via BIS_fnc_configPath. E.g.\n\n```sqf\n[configFile / \"ATMineCrater\" / \"MissileCircleDust\", \"\"] call BIS_fnc_configPath; // return: \"configfile >> \"ATMineCrater\" >> \"MissileCircleDust\"\"\n[configFile / \"ATMineCrater\" / \"MissileCircleDust\", []] call BIS_fnc_configPath; // return: [\"configfile\",\"ATMineCrater\",\"MissileCircleDust\"]\n```"}]}