On 12 Oct 2012, at 09:16, Jonathan Bastin <jonathan.bastin at peerpointinternet.co.uk> wrote: > Issue with doing it that way is you would get decimal values returned which > freeradius can't deal with. > So use round()... http://www.w3schools.com/sql/sql_func_round.asp -Arran