Pass precision correctly in examples.
Merge pull request #3 from ivaldi/master

Pass precision correctly in examples.