8.2 Math 数学 - −减


快捷键:-

Subtract one or more values from a base value.
Right-click to divide by more values, or change the type (ex: number, position, rotation).

将值减去一个或多个值。
右键可选择输入接口数,或更改输入接口接入值类型(例如:数字,坐标,角度)。

板栗:为了方便理解,假设 A - B = C ,如( 10 - 2 = 8 )。

输入口
Input 输入
The base value. By default, the value is a number.
接入基础值。默认情况下,该值是一个数字。板栗:即A

Input 输入
The first number to subtract. By default, the value is a number.
要减去的第一个数字 。默认情况下,该值是一个数字。板栗:即B

输出口
Output 输出
The difference of the values.
计算出来的值。板栗:即C


Related Patches 相关模块

/(÷) 除,+ 加× 乘Mod 求余函数Round 四舍五入Max 最大值,Min 最小值


Related Learn Content 相关课程

Coming From Code
See how Origami differs from programming.
Related Examples


Related Examples 案例

Fahrenheit to Celsius
Get to know logic and patches in Origami through temperature conversion.


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容