JSFiddle - React, Tailwind, and code Playground
by terby
JavaScript
var thescope = 0.448;
var thecvalue = 271.864;
var x = 254.5;
var y = 326;
newscope = -1/thescope;
newcvalue = y-(newscope*x);
newx = (thecvalue-newcvalue)/(newscope-thescope);
newy = (newscope*newx)+newcvalue;
newx = Math.round(((newx) * 100) + Number.EPSILON) / 100;
newy = Math.round(((newy) * 100) + Number.EPSILON) / 100;
alert(newx+","+newy);