I am assuming it is something to do with the precision of the data type returned, the match between the vfp type and SQls decimal (I would use float over decimal) but it could be the

convert(decimal(10,3),8.04)

that isn't doing a good job on the conversion.

Try doing "select 10000*convert(decimal(10,3),8.04)...." to test it.

May be change it to "select convert(float(10,3),8.04) as Kolicina" and see what 
you get.

--
Michael Hawksworth
Visual Fox Solutions

[EMAIL PROTECTED]
www.foxpro.co.uk




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to