Can anyone please help.
I'm following a tutorial found here as I have a situation where I have to get the equation of a line in point slope form i.e. y−y1=m(x−x1)
.
I get up to step 3 of the tutorial no problem, but then I got stuck. In order to go from this equation y−3=**3/11**(x−4)
to this 11y−33=3(x−4)
(getting rid of the fraction on the right), I have to multiply by 11 on both sides.
However, my problem is that I obviously wont be using fractions but floating point decimal numbers in C#. So my values would be 0.272727
rather than 3/11. So what would I need to multiply with on both sides to give me correct answer? Or can this even be done?
My question is this, how can I get from this y−3=**0.272727**(x−4)
to 11y−33=3(x−4)
in decimal form?
Does anyone have any suggestions or alternatives that I can use?
Thanks in advance