I have put together an application that uses Cramer's rule to fine the solution to three variable systems. It works great, but in some cases the answers returned are too big to fit in the answers spot. There must be a simple way to figure out the length of a double, then limit it, I just can't seem to find it.
var x:Double = dx/d
var y:Double = dy/d
var z:Double = dz/d
return (x,y,z)
The code above shows the end of the function that calculates the points, which isn't really necessary.
So in summary: is there an easy way to determine the length (amount of numbers), in a double?
Thanks for all your help!