<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andrew Brunner wrote / napísal(a):
<blockquote
cite="mid:CAM=dd2jC0-Wq4OagXQARURn-A3fKR7+xP3r4AuicN487rBsohA@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Jul 11, 2011 at 3:02 AM, Mark Morgan Lloyd
<a class="moz-txt-link-rfc2396E" href="mailto:markMLl.fpc-devel@telemetry.co.uk"><markMLl.fpc-devel@telemetry.co.uk></a> wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">1.) Update Value : 40734.825668912039
2.) Actual Value after update : 40734.8256689120
3.) Actual Value on read : 40734.825668912003
</pre>
</blockquote>
<pre wrap="">Does MySQL come with an "official" program that you can use to run queries
manually? What happens when you use it to store and retrieve that number?
</pre>
</blockquote>
<pre wrap=""><!---->
1.) is a value declared as double and viewed under GDB.
2.) is a value viewed in table data in MySQL Console App under Linux.
3.) Is the value retrieved from the table by the Application using the
Select statement and Fields.FieldByName(field_name).AsFloat()
I am still experiencing this issue and seeking alternatives b/c I'm
using all 12 digits - and am expecting all 12 digits. Can someone
update the (Fields.Data variant as double) with a binary send instead
of converting to a string?
</pre>
</blockquote>
IMO it will require use in mysqlconn.inc new API "prepare family"
functions introduced in MySQL 5<br>
<a class="moz-txt-link-freetext" href="http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-function-overview.html">http://dev.mysql.com/doc/refman/5.0/en/c-api-prepared-statement-function-overview.html</a><br>
<br>
In current implementation (backward compatible with older MySQL
versions) there is no only problem with sending values, but also
retrieved values are strings (see
<a class="moz-txt-link-freetext" href="http://dev.mysql.com/doc/refman/5.0/en/mysql-fetch-row.html">http://dev.mysql.com/doc/refman/5.0/en/mysql-fetch-row.html</a>)<br>
<br>
-Laco.<br>
<br>
</body>
</html>