// Numbas version: finer_feedback_settings
{"name": "Written number extension", "extensions": ["written-number"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Written number extension", "tags": [], "metadata": {"description": "
Demonstration of the written number extension, which converts whole numbers to words.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "\n\n\nNumeral | \n{n} | \n
\n\nNumbas interface language | \n{written_number(n)} | \n
\n\nEnglish | \n{written_number(n,'en')} | \n
\n\nIndian English | \n{written_number(n,'en-in')} | \n
\n\nUS English | \n{written_number(n,'en-us')} | \n
\n\nFrench | \n{written_number(n,'fr')} | \n
\n\nArabic | \n{written_number(n,'ar')} | \n
\n\n
\n\n", "advice": "", "rulesets": {}, "extensions": ["written-number"], "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "let(digits,random(1..6),\n random(10^(digits-1)..10^digits)\n)", "description": "", "templateType": "anything"}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "written_number(n,\"en-in\")", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n", "s"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}