What does it do?
Converts numbers from decimal to fraction representation. Can convert single
numbers, or proccess a stream.
How do I use it?
There are two options for this tool:
- In the first, you put a number in the empty hole, and give the box to
the robot. This is mainly useful if you want to understand how the
conversion is done.
- In the second, give any number to the in bird, and it will be converted
to a fraction. The result is also copied out to the out nest.
How does it work?
The robot types a "=" over the incoming number, and drops it on a fraction.
Then it copies the result to a bird.
What can I use it for?
Converting various numbers to fractions. You can also chain it to a stream
of numbers, to convert them all to fractions.
Additional Notes
If you want to convert numbers to some other format, e.g. "integer with
proper fraction", you can modify this tool to do that. To change the first
version of the tool:
- In your main notebook, find the "numbers" notebook and take it out.
- Find the number format you want in the notebook.
- Take a copy of a number in the format you want, and put it in the
fraction hole of the robot's box, instead of the number that is there.
If you want to change the second version:
- In your main notebook, find the "numbers" notebook and take it out.
- Find the number format you want in the notebook.
- Take a copy of a number in the format you want and flip it and put it on
the floor.
- Flip the decimal 2 fraction tool.
- Copy or move the robot and its box from the back of the tool to the back
of the number you chose.