Added format property. Using floats instead of ints.
Merge pull request #1 from simonbs/master

Format property and floats instead of ints