fraction-math-js
Advanced tools
Sorry, the diff of this file is not supported yet
@@ -10,2 +10,4 @@ #!/usr/bin/env node --harmony --harmony_array_includes | ||
| console.log(a.n.toString());//35 | ||
| console.log(a.d.toString());//3 | ||
| console.log(a.d.toString());//3 | ||
| let b=new F(a,"+",1.1); | ||
| console.log(b.toString());//383/30 |
+6
-31
| { | ||
| "name": "fraction-math-js", | ||
| "version": "0.1.5", | ||
| "description": "bignumber fraction calculator and node module.", | ||
| "version": "0.1.6", | ||
| "description": "", | ||
| "main": "index.js", | ||
@@ -15,11 +15,8 @@ "scripts": { | ||
| "keywords": [ | ||
| "fraction", | ||
| "calculator" | ||
| "fraction","calculator" | ||
| ], | ||
| "bin": { | ||
| "bin":{ | ||
| "fcalc": "./bin/fcalc.js" | ||
| }, | ||
| "author": { | ||
| "name": "hjiayz" | ||
| }, | ||
| "author": "hjiayz", | ||
| "license": "Apache-2.0", | ||
@@ -32,25 +29,3 @@ "bugs": { | ||
| "bignumber.js": "^2.0.7" | ||
| }, | ||
| "gitHead": "3a42fe3d7aca44b6d89f2ec105438c927a397ed8", | ||
| "_id": "fraction-math-js@0.1.3", | ||
| "_shasum": "62ba2cedb2285fa9c5072f1b95919ea79149a5d8", | ||
| "_from": "fraction-math-js@*", | ||
| "_npmVersion": "2.14.2", | ||
| "_nodeVersion": "4.0.0", | ||
| "_npmUser": { | ||
| "name": "hjiayz", | ||
| "email": "hjiayz@gmail.com" | ||
| }, | ||
| "dist": { | ||
| "shasum": "62ba2cedb2285fa9c5072f1b95919ea79149a5d8", | ||
| "tarball": "http://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.3.tgz" | ||
| }, | ||
| "maintainers": [ | ||
| { | ||
| "name": "hjiayz", | ||
| "email": "hjiayz@gmail.com" | ||
| } | ||
| ], | ||
| "directories": {}, | ||
| "_resolved": "http://registry.npmjs.org/fraction-math-js/-/fraction-math-js-0.1.3.tgz" | ||
| } | ||
| } |
+3
-0
@@ -45,2 +45,5 @@ ## fraction-math-js | ||
| let b=new F(a,"+",1.1);//a+1.1 = 383/30 | ||
| console.log(b.toString());//383/30 | ||
| ### Run | ||
@@ -47,0 +50,0 @@ |
8
14.29%213
0.95%54
5.88%20677
-0.1%