Skip to content

craftsys/eval-num-expr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evaluate Numerical Expressions

Installation

npm install --save eval-num-expr

Usage

import evalExpr from "eval-num-expr"

const value = evalExpr('100 + 3 * 55 + 73 - 73 * 18%')
// value = 324.86

About

Evaluate Numerical Expressions in Javascript ("25+3*22")

Resources

Stars

Watchers

Forks