Decimal to a*sqrt(b)
I am looking for an algorithm that will convert any decimal number into a radical or a number times a radical.
Decimal to a*sqrt(b)
===

I am looking for an algorithm that will convert any decimal number into a radical or a number times a radical.