Add Float.round function

Float.round allows rounding floats to arbitrary precision, as well
as specifying how midpoint rounding is performed (up/down).
Merge pull request #1927 from bitwalker/master

Add Float.round function