         let dividend:Double = polynomial.coefficientDividend
         let divisor:Double = polynomial.coefficientDivisor
         let coefficient:Double = dividend / divisor
-        let coefficentNumber:NSNumber = coefficient as NSNumber
+        let coefficentNumber:NSNumber = NSNumber(value:coefficient)
         
         guard
         

        }
        
        let numberDouble:Double = number as Double
        controller.polynomial?.coefficientDividend = numberDouble
        controller.polynomial?.coefficientDivisor = 1
    }

    private let kNumbersMax:UInt32 = 57
    private let kDecimalPoint:UInt32 = 46
    private let kMinIntegers:Int = 1
    private let kMaxIntegers:Int = 10
    private let kMinDecimals:Int = 0
    private let kMaxDecimals:Int = 10
    
    init(controller:CLinearEquationsPolynomial)
    {
