Meta Project

The Unofficial Meta Documentation

SUBTRACT

Summary

SUBTRACT Subtracts the second number from the first

Category

MATH

Usage

SUBTRACT value1 value2

Arguments

value1 - numerical value

value2 - numerical value

Refinements

This method has no refinements

Description

SUBTRACT subtracts the second number from the first. Implemented for most numerical types. Subtract is prefix notation. Meta also can handle the infix operator - for subtraction

Example Code

SUBTRACT as prefix

result: SUBTRACT 7 3

with result of 4.

SUBTRACT as infix

result: 7 - 3

with also a result of 4

Related

ADD  
MULTIPLY  
POWER  
MODULO  

Back to the Meta Methods Reference index