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

        return self
    }

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

    var relation = NSLayoutRelation.Equal
    var secondItem: UIView?
    var secondAttribute = NSLayoutAttribute.NotAnAttribute
    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: multiplier, constant: constant)
    }

    // MARK: relation functions
