How to get PI based results in Octave?

In Octave

octave.exe:4> asin(1/2)
ans =  0.52360


is it possible to get the result in form of:

ans = pi/6


It seems not possible with format function, but may be there are any tricks.

-

An alternative might be to convert into units of $\pi$ explicitly, and then seek a rational approximation:
> rats(asin(1/2) / pi)