Quantcast
Channel: Fast Lightweight Expression Evaluator
Viewing all articles
Browse latest Browse all 96

New Post: Solve equation like y=0.1*x

$
0
0
I do have easy equations like y=0.1*x stored as a string. Based on some logic I want to solve for y or for x, depending on which I know.

Ex1: x=5 --> I want to get y=0.5

Ex2: y=2 --> I want to get x=20

Could someone tell me how to use this library to solve this issue?

Viewing all articles
Browse latest Browse all 96

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>