Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Math Topics » alt.math.recreational.independent

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ] Topics: [ Previous | Next ]
Peter Scales

Posts: 136
From: Australia
Registered: 4/3/05
Re: Changing Numbers To Prescribed Values Under Special Limitations
Posted: Feb 10, 2013 12:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> 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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.