Is your string UTF encoded? You should check if your character code is exactly 194 and not wider... 16 Bits perhaps? Any Hex-Viewer will help.
regards Emil On Wednesday 04 March 2009 11:55:44 Bruce wrote: > Hi guys, > > I'm trying to convert a string to float. The string contents are "56½". > I've tried both > > replace(st,"½",".5") and > replace(st, Chr$(194), ".5 ") > > neither helps. > > Any ideas? > > tia > ted > > --------------------------------------------------------------------------- >--- Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing > the Enterprise -Strategies to boost innovation and cut costs with open > source participation -Receive a $600 discount off the registration fee with > the source code: SFAD http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
