Le 07/09/11 18:34, John Mullen a écrit : Hi John,
> > > SELECT 1.00, "CONTRACTS.Rental" FROM "CONTRACTS" > > this returns 1.00 150 > > Any idea why? OK, I tested further and this is IMHO a bug. With SQL preprocessing on, i.e. the default LibO behaviour, if your decimal has figures after the decimal point, e.g. value 167.34, then your query will display the value correctly, however if the value is an integer, then despite the "digits after decimal", it will not display the double zero digits of a value such as 155.00. With SQL preprocessing turned off, the trailing digits will be displayed on the value fetched from the field, but then the manually entered 1.00 value gets interpreted as an integer and the trailing zeros removed !!!. So the problem looks to be somewhere in both the LibO SQL parser and TYPE identification (perhaps inter-related). Alex -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted