Truncate Float and Double metrics, close #2177