Groups > Superbase > Superbase 3 programming > Re: Covert Charstring to Decimal




Covert Charstring to Decimal

Covert Charstring to Decimal
Mon, 4 Jun 2007 15:45:12 +0200
I like to convert a Charstring (e.g. 77,1230) to a decimal value. Has 
someone a
ready bit of code for this problem or do i have to code it from the very 
beginning.

kind regards
walter 

Post Reply
Re: Covert Charstring to Decimal
Tue, 05 Jun 2007 03:42:17 +010
Walter Weiss wrote:
> I like to convert a Charstring (e.g. 77,1230) to a decimal value. Has 
> someone a
> ready bit of code for this problem or do i have to code it from the very 
> beginning.
> 
> kind regards
> walter 
> 
> 

Are you talking about converting "77.1230" to a decimal value? If so,
just use VAL("77.1230").

Post Reply
Re: Covert Charstring to Decimal
Tue, 5 Jun 2007 09:56:14 +0200
Thanks, your are totally right. I made a thinking mistake.

mfg
walter

"Neil Robinson" <neil@simpol.com> schrieb im Newsbeitrag 
news:f42iij$cce$4@ipx22096.ipxserver.de...
> Walter Weiss wrote:
>> I like to convert a Charstring (e.g. 77,1230) to a decimal value. Has
>> someone a
>> ready bit of code for this problem or do i have to code it from the
very
>> beginning.
>>
>> kind regards
>> walter
>>
>>
>
> Are you talking about converting "77.1230" to a decimal value? If
so,
> just use VAL("77.1230").
>
> Ciao, Neil 

Post Reply
about | contact