divide

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
N/A
Divides two numbers.
1 contributor
Install divide as a package?
Copied
npm i @bit/justin-capalbo.ramda.divide
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
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';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
divide (
a:Number,
b:Number
) : Number

Divides two numbers. Equivalent to a / b.

Example
R.divide(71, 100); //=> 0.71

     const half = R.divide(R.__, 2);
     half(42); //=> 21

     const reciprocal = R.divide(1);
     reciprocal(4);   //=> 0.25
Arguments
a: Number

The first value.

b: Number

The second value.

Returns
Number

The result of `a / b`.

Help and resources