Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

multiply

v0.26.1arrow_drop_down
v0.26.1
STATUS
Passing
DOWNLOADS
268
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
8 months ago
SIZE
802 B
Multiplies two numbers.
1 contributor
Use multiply in your project ?
Copied
npm i @bit/ramda.ramda.multiply
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
double(10);
modifieddraft
triple(10);
modifieddraft
chevron_left
chevron_right
multiply (
a:Number,
b:Number
) : Number

Multiplies two numbers. Equivalent to a * b but curried.

Example
const double = R.multiply(2);
     const triple = R.multiply(3);
     double(3);       //=>  6
     triple(4);       //=> 12
     R.multiply(2, 5);  //=> 10
Arguments
a: Number

The first value.

b: Number

The second value.

Returns
Number

The result of `a * b`.