     var relation = NSLayoutRelation.Equal
     var secondItem: UIView?
     var secondAttribute = NSLayoutAttribute.NotAnAttribute
-    var multiplier: Float = 1.0
-    var constant: Float = 0.0
+    var multiplier: CGFloat = 1.0
+    var constant: CGFloat = 0.0
 
     public init(_ view: UIView) {
         firstItem = view
     }
 
     public func build() -> NSLayoutConstraint {
-        return NSLayoutConstraint(item: firstItem, attribute: firstAttribute, relatedBy: relation, toItem: secondItem, attribute: secondAttribute, multiplier: CGFloat(multiplier), constant: CGFloat(constant))
+        return NSLayoutConstraint(item: firstItem, attribute: firstAttribute, relatedBy: relation, toItem: secondItem, attribute: secondAttribute, multiplier: multiplier, constant: constant)
     }
 
     // MARK: relation functions

        return self
    }

    public func equalTo(constant: Float) -> FluentConstraint {
        self.relation = .Equal
        self.constant = constant
        return self

        return self
    }

    public func lessThanOrEqualTo(constant: CGFloat) -> FluentConstraint {
        self.relation = .LessThanOrEqual
        self.constant = constant
        return self
