ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## subtract + [link](./subtract "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L14060 "View in source.") + [npm](https://www.npmjs.com/package/lodash.subtract "See the npm package.") ``` _.subtract(minuend, subtrahend) ``` 两双相减 ### 参数 1. minuend (number) 相减的第一个数 2. subtrahend (number) 相减的第二个数 ### 返回值 (number) 返回结果 ### 示例 ``` _.subtract(6, 4); // => 2 ```