[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSUBTRACT\u003c/code\u003e function calculates the difference between two numbers.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a numeric value as input, which is subtracted from the existing number.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSUBTRACT\u003c/code\u003e function is compatible with both Double and Integer data types.\u003c/p\u003e\n"],["\u003cp\u003eAn example provided shows how to subtract 15 from the integer variable \u003ccode\u003e$var1\u003c/code\u003e (which has a value of 10), resulting in an output of \u003ccode\u003e-5\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# SUBTRACT function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nSUBTRACT function\n=================\n\n`SUBTRACT` function\n-------------------\n\nSupported data type\n-------------------\n\n\nThe `SUBTRACT` function supports the following data types:\n\n- Double\n- Integer\n\nExample: Subtract an integer value\n----------------------------------\n\n\n**Sample data** : `$var1$ = 10`\n\n\n**Usage** : `$var1$.SUBTRACT(15)`\nSubtract 15 from var1.\n\n\n**Output** : `-5`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]