[Gambas-user] simple replace question

Stefano Palmeri rospolosco at ...152...
Wed Mar 4 13:00:00 CET 2009


Il mercoledì 4 marzo 2009 11:55:44 Bruce ha scritto:
> 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
>
Strange. replace(st,"½",".5") works on my system.

Gambas 2.11.1

Saluti,

Stefano

> ---------------------------------------------------------------------------
>--- 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list