Re: text to number 2
Try this:
sequence original, final
original = {"-","1","2",".","2"}
final= {}
for n = 1 to length(original) do
final &= original[n]
end for
puts (1, final)
Dan Moyer
----- Original Message -----
From: <dmccu at connect.ab.ca>
To: "EUforum" <EUforum at topica.com>
Sent: Sunday, January 27, 2002 8:58 PM
Subject: text to number 2
>
> ok, I have reviewed the value library function for converting a
> sequence to a number, but how do you get a sequence like
> {"-","1","2",".","2"} to be {"-12.2"} as the function needs it to be?
> Or am I missing something obvious? I need to make a file filter and I
> need to be able to convert back and forth regularly from string to
> numeric.
>
>
>
>
|
Not Categorized, Please Help
|
|