I should have tried harder! Found the mysql CAST function which does the trick. -- View this message in context: http://old.nabble.com/mysql-float-behaviour-tp34077473p34077592.html Sent from the gambas-user mailing list archive at Nabble.com.