Skip to content

Golang implements simple mathematical expression calculation

Notifications You must be signed in to change notification settings

button-chen/expr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

golang implements simple mathematical expression calculation

Example:

v := Eval("-1.5+(3.2*2)/2*(-3)-10.7*3+1e-5")
fmt.Println("result: ", v)

// output: result: -43.19998999999999

About

Golang implements simple mathematical expression calculation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages