summaryrefslogtreecommitdiffstats
path: root/test/data/snippets/arithmetic_expression.pp
blob: aae98a4dba731b014fc5dc756a8ce999a1036e0c (plain)
1
2
3
4
5
6
7
8

$one = 1.30
$two = 2.034e-2

$result = ((( $two + 2) / $one) + 4 * 5.45) - (6 << 7) + (0x800 + -9)


notice("result is $result == 1295.87692307692")