Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: Changing Numbers To Prescribed Values Under Special Limitations
Posted:
Feb 10, 2013 12:19 PM


> x=1825+91/1217 > y=7+2/3 > z=1827+2/3 > > Is there any way to turn x into z only using the > first two terms, andor a constant, and the operators > '+','','*','/'. > > ... Basically the core of the question is can I > change any number's last digit and its decimal value > to something I decide by only using the number itself > and the desired digit and decimal? > > Use an Integer to force truncation, as:
I=x/10 z=I*10 + y
Regards, Peter Scales.



