allow setting a decimal property to a float
special case float for 2.6
Merge pull request #66 from dannyroberts/float-to-decimal

allow setting a decimal property to a float