Re: Incompatible Data Type? -- SOLVED!
Rich Shepard <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 26 Dec 2006, Adrian Klaver wrote: >> In OnAlphaCut: 0.19000000 >> >> In OnAlphaCut: 0.18000000 >> >> In OnAlphaCut: 0.17000000 > For my own information. Why are there three values returned? Because the method is bound to the EVT_SPIN_CTRL; every time the value changes in the control that method is called and the print statement tells me that the change was successful. > The print statement cleans up the unicode notation. Ah! > Try casting the self.va to float i.e float(self.va). Your next message arrived > while I was writing this one. The same answer applies. Ta-da! I did the explicit cast in the embedded SQL and that did the trick. Whew! I guess that never occurred to me because it was printing on the console as a float. Thank you once again for sharing your experience and expertise to help me climb out of a deep rut. Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc.(TM) | Accelerator <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863