     
     get: (what) ->
         if what is 'x'
-            @x.toFixed 2
+            Math.round @x
         else if what is 'y'
-            @y.toFixed 2
+            Math.round @y
         else if what is 'org_x'
-            @org_x.toFixed 2
+            Math.round @org_x
         else if what is 'org_y'
-            @org_y.toFixed 2
+            Math.round @org_y
         else if what is 'a'
             Math.atan2 @y - @org_y, @x - @org_x
         else if what is 'dist'

            if @p1.get('y') <= pt.get('y') <= @p2.get('y')
                return true
        else if @p1.get('x') <= pt.get('x') <= @p2.get('x')
            if (@get('m', false) * pt.x + @get('b', false)).toFixed(2) == pt.get('y')
                return true
        return false
    
    _intersection: (other) ->
        if @get('m') == other.get('m')
            return undefined
        else if @get('m') is undefined
            _x = @p1.x
            _y = other.get('m', false) * _x + other.get('b', false)
        else if other.get('m') is undefined
            _x = other.p1.x
            _y = @get('m', false) * _x + @get('b', false)
        else
            _x = (other.get('b', false) - @get('b', false)) / (@get('m', false) - other.get('m', false))
            _y = @get('m', false) * _x + @get('b', false)
        return new Point _x, _y, 0, 0

        else if @p1.get('x') == @p2.get('x') and @p1.get('y') > @p2.get('y')
            [@p1, @p2] = [@p2, @p1]
    
    get: (what) ->
        if what is 'slope' or 'm'
            if @p1.get('x') == @p2.get('x')
                undefined
            else
                (@p2.y - @p1.y) / (@p2.x - @p1.x)
        else if what is 'y-intercept' or 'b'
            if @p1.get('x') == @p2.get('x')
                undefined
            else
                -@get('m') * @p1.x + @p1.y
        else
            throw new Error "#{what} is not a get-able Line attribute"
    
