Re: converting string in numbers
- From: andrea <kerny404@xxxxxxxxx>
- Date: Tue, 21 Aug 2007 07:42:59 -0000
On 20 Ago, 21:59, Jan Wielemaker <j...@xxxxxxxxxxxxxxxxxxx> wrote:
On 2007-08-20, andrea <kerny...@xxxxxxxxx> wrote:
I'm stuck in a very stupid (I think) problem,
given a list of chars ['1','2'], how do I get the number 12??
There must be something that at least gives me the ordinal number of
the char '1', but I can't really find it...
See number_chars/2 in any ISO compliant Prolog system.
--- Jan
Ok thanks I solved :)
.
- References:
- converting string in numbers
- From: andrea
- Re: converting string in numbers
- From: Jan Wielemaker
- converting string in numbers
- Prev by Date: Re: to leverar memory in prolog...
- Next by Date: List of chars
- Previous by thread: Re: converting string in numbers
- Next by thread: to leverar memory in prolog...
- Index(es):