>Thanks Vlad and Hilmar. Just what I was looking for. I would give you both "stars", but I don't know how to assign them.
>
>Einar
For stars, there are links below each message, available to the creator of the message. "Mark as solution" and "mark as help". Only one message can be marked as the solution.
Detailed explanation at
www.levelextreme.com/point.asp.
About decimals: it seems to me that SET DECIMALS affect mainly the display of data, not the actual calculation. For instance, the following fragment displays very accurate data - much more than if x were stored only with 2 decimals accuracy:
set decimals to 2
x = pi() * 10
? x * 1e6
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)