Another way with different result
? ROUND(SQRT(lnNumber),0), CEILING(lnNumber/ROUND(SQRT(lnNumber),0))
>
>Thats pretty close and works most of the time. 7 does not work. But I could double check the lower x higher factors and if the result is under the original number, increment the lower value. What do you think?
--sb--