Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
mathjs#1485
node v10.24.1
version:
1.0.0
endpoint
share
tweet
const math = require('mathjs'); const form="bignumber((hs1-hg1)/(bignumber(hg1-hm1)))"; const hs1=40; const hg1=38.6; const hm1=20; const data = { hs1, hg1, hm1 }; const expression = math.eval(form, data);
Loading…
no comments
sign in
to comment