Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Changing Numbers To Prescribed Values Under Special Limitations
Replies: 1   Last Post: Feb 10, 2013 12:19 PM

 Messages: [ Previous | Next ] Topics: [ Previous | Next ]
 Peter Scales Posts: 192 From: Australia Registered: 4/3/05
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.

Date Subject Author
2/9/13 Perry
2/10/13 Peter Scales