In the future. Please tag your questions with the name+major version of both the compiler you're using (e.g. twine1, twine2, tweego1) and story format (e.g. harlowe2, sugarcube2), because it can, and often does, make a difference to the answers you'll receive and how quickly you receive them. I'd also suggest specifying the full version of each somewhere, either as additional tags (e.g. twine2-1-3, sugarcube2-1-8) or within the post, because that can matter too.
For now, based on your example "code" alone, I'm going to assume you're using SugarCube.
Your best bet would probably be to do these as functions, not macros, actually. I'd probably suggest either using the built-in setup object or your own custom object to hold them, for the purposes of namespacing. Further, if using your own custom object, placing it upon the window object, so that it becomes an auto-global (i.e. accessible everywhere).
For example, using a custom object on window: (goes in a script section; Twine 2: Story JavaScript, Twine 1: script-tagged passage)
window.MyLib = {
increase : function (value, percentage) {
return (100 - value) * percentage + value;
},
decrease : function (value, percentage) {
return value - value * percentage;
}
};
Usage examples:
/* Specifying a number literal as the value. */
<<set $someStat to MyLib.increase(80, 0.3)>>
<<set $someStat to MyLib.decrease(80, 0.3)>>
/* Specifying a story variable as the value. */
<<set $someStat to MyLib.increase($someStat, 0.3)>>
<<set $someStat to MyLib.decrease($someStat, 0.3)>>
/* Specifying a temporary variable as the value. */
<<set $someStat to MyLib.increase(_someTempVar, 0.3)>>
<<set $someStat to MyLib.decrease(_someTempVar, 0.3)>>
Though I only showed using a number literal for the percentage in the examples, you may instead pass it a variable just as easily.
PS: Please disregard whatever examples you found that lead to your macro attempts above. They're pointless and the fact that they've survived this long is a sad state of affairs. They're cargo cult programming at its worst and their originator should feel bad for inflicting them upon the community.