diff options
-rw-r--r-- | engines/director/lingo/tests/math.lingo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/director/lingo/tests/math.lingo b/engines/director/lingo/tests/math.lingo index d4b3d96105..e1a877a4a4 100644 --- a/engines/director/lingo/tests/math.lingo +++ b/engines/director/lingo/tests/math.lingo @@ -10,3 +10,8 @@ put cos(z2) set x = 2 + 3 * (4 / 2) put x + +-- Type conversion +put (1024/4096)*100 -- 0 +put (1024/4096)*100.0 -- 0.0 +put ((1024*1.0)/4096)*100.0 -- 25.0 |