dynamic-floating-number-calculator

2.0.2 • Public • Published

dynamic-floating-number-calculator

The user sends the floating numbers, package handle the dynamically to calculates and returns the appropriate result.like addition, subtraction, multiplication, division, grate then and less than

Example:- functionName:- isGreaterOrNot, Description:- compare the (0.1.0, 0.2.0) is greate or not? Example:- passing floating number like.. isGreaterOrNot('0.8.0', '0.8.0') --> result 'False' isGreaterOrNot('0.8.0', '0.6.0') --> result 'True'

functionName:- isGreaterThenOrEqual, Description:- compare the (0.1.0, 0.2.0) is greate or Equal? Example:- passing floating number like.. isGreaterOrNot('0.8.0', '0.8.0') --> result 'True' isGreaterOrNot('0.8.0', '0.6.0') --> result 'True'

functionName:- addTwoNumbers, Description:- added the (22.22.22,22.22.22) to get result (44.44.44)? Example:- passing floating number like..(22.22.22,22.22.22) ,(22.33, 1.00) addTwoNumbers*(22.22.44', '22.22.88' ) --> result '44.45.32'

functionName:- subtractTwoNumbers, Description:- added the (22.22.44,22.22.8) to get result -00.00.36? Example:- passing floating number like..(22.22.44,22.22.8) ,(22.22.44, 22.22.88) subtractTwoNumbers(’22.22.44’,’22.22.8’) --> result '-00.00.36' subtractTwoNumbers(’22.22.44’, ’22.22.88’) --> result '-00.00.44'

Some more dynamically numbers like (0.1.0, 0.2.0.0.3.4), (0.11.0, 0.2.0.012.3.4) etc model number also work.

Note:- This package caluclates the large number of floating like:- 33434.55666.77667.54443.4455.445566 etc. Soon will release multiplication and division as well.

/dynamic-floating-number-calculator/

    Package Sidebar

    Install

    npm i dynamic-floating-number-calculator

    Weekly Downloads

    1

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • jaganmohan.polasi