Decimal Places

A Quick Guide for Etoys on the OLPC XO


Guides about topics in EToys
Help screens for the OLPC
XO machine.

NavBar
   Toggle
   Hide Show
Paint
Halo
Supplies
   Holder
   Players Tool
ObjectCat
   Polygon
Books
ScriptTile
   Two Color Test
   Wrap
   Overlaps Dot
Menu
   Drop Shadow
   Painting
   Ticks Per Second
   Bring to Front
   Decimal Places
   Grid and Snap to Grid
MenuDecimalPlaces, page 1. Menu: Decimal Places

This menu is used to set the number of decimal places your project uses.

The menu shows in the Viewer and in Watchers.

Open a Viewer for the star. Click the white menu by the Star's X tile. Select decimal places. Experiment.
MenuDecimalPlaces, page 2. Example 1.0

Open a Viewer for this blue line. Change the Y's decimal places from 0 to 2. 

The position changes from 159 to 158.50. The last digit in the number is rounded up or down.
MenuDecimalPlaces, page 3. Example 1.5

Open a Viewer for this red line. 

Change the X's decimal places from 0 to 2.

Click the exclamation mark. See a difference?.
MenuDecimalPlaces, page 4. Example 2.0
Open a Viewer for this green line.

Click the exclamation mark in this script and watch the heading change.

Set the heading back to 0 and change the heading's decimal places from 0 to 2.

Jump to Top

Squeak Etoys is a "media authoring tool"-- software that you can download to your computer
and then use to create your own media. You can write out your project and share it with others.
Etoys runs on any Mac or Windows machine, as well as on the OLPC XO machine.
It is free.    Find out about Etoys.



Text of this guide (for searching): Menu: Decimal Places This menu is used to set the number of decimal places your project uses. The menu shows in the Viewer and in Watchers. Open a Viewer for the star. Click the white menu by the Star's X tile. Select decimal places. Experiment. Example 1.0 Open a Viewer for this blue line. Change the Y's decimal places from 0 to 2. The position changes from 159 to 158.50. The last digit in the number is rounded up or down. Example 1.5 Open a Viewer for this red line. Change the X's decimal places from 0 to 2. Click the exclamation mark. See a difference?. Example 2.0 Open a Viewer for this green line. Click the exclamation mark in this script and watch the heading change. Set the heading back to 0 and change the heading's decimal places from 0 to 2.