Thanks very much,<br><br>i used your_variable[0][0:10] that got me the amount of decimal places I was looking for <br><br>greatly appreciated.<br><br><div><span class="gmail_quote">On 1/19/07, <b class="gmail_sendername">Daniel Arbuckle
</b> &lt;<a href="mailto:djarb@highenergymagic.org">djarb@highenergymagic.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That looks to me like the value you want is inside a pair of nested<br>1-tuples. try using YOUR_VARIABLE[0][0]<br><br>On 1/19/07, Joshua Gauthier &lt;<a href="mailto:jjgauthi@gmail.com">jjgauthi@gmail.com</a>&gt; wrote:<br>
&gt; The decimals are fine, i am trying to eliminate the parenthesis, and commas.<br>&gt;<br>&gt; thanks for the start though, i will look into output format.<br>&gt;<br>&gt; Josh<br>&gt;<br>&gt;<br>&gt; On 1/19/07, Chris Hughes &lt;
<a href="mailto:christopher.hughes@gmail.com">christopher.hughes@gmail.com</a>&gt; wrote:<br>&gt; &gt; Is it a decimal field type?<br>&gt; &gt; If it is make sure that its represented as such.<br>&gt; &gt;<br>&gt; &gt; OR
<br>&gt; &gt;<br>&gt; &gt; In your select do<br>&gt; &gt; select field1, field2, format(field3,2) as field3 from whereever<br>&gt; &gt; If that isn&#39;t suitable use the round function instead.<br>&gt; &gt;<br>&gt; &gt; -C
<br>&gt; &gt;<br>&gt; &gt; On 1/19/07, Joshua Gauthier &lt;<a href="mailto:jjgauthi@gmail.com">jjgauthi@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; Greetings everyone,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I have a quck question, I am running a query out of mysql and dumping it
<br>&gt; to<br>&gt; &gt; &gt; txt, but I am experiencing some formatting issues, I would prefer my<br>&gt; query<br>&gt; &gt; &gt; to just dump a raw number instead of something similar to this:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ((
54948.899902343997,),)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; any sage advice you can give would be greatly appreciated.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Josh<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; socal-piggies mailing list<br>&gt; &gt; &gt; <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>&gt; &gt; &gt; 
<a href="http://lists.idyll.org/listinfo/socal-piggies">http://lists.idyll.org/listinfo/socal-piggies</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; socal-piggies mailing list<br>&gt; &gt; <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>&gt; &gt; <a href="http://lists.idyll.org/listinfo/socal-piggies">http://lists.idyll.org/listinfo/socal-piggies
</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; socal-piggies mailing list<br>&gt; <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>&gt; 
<a href="http://lists.idyll.org/listinfo/socal-piggies">http://lists.idyll.org/listinfo/socal-piggies</a><br>&gt;<br>&gt;<br>&gt;<br><br>_______________________________________________<br>socal-piggies mailing list<br><a href="mailto:socal-piggies@lists.idyll.org">
socal-piggies@lists.idyll.org</a><br><a href="http://lists.idyll.org/listinfo/socal-piggies">http://lists.idyll.org/listinfo/socal-piggies</a><br></blockquote></div><br>