Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Converting a string to numeric?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Zee  
View profile   Translate to Translated (View Original)
 More options 11 May, 19:32
From: Zee <zuhair.abdu...@gmail.com>
Date: Mon, 11 May 2009 11:32:33 -0700 (PDT)
Local: Mon 11 May 2009 19:32
Subject: Converting a string to numeric?
Hi guys

I need some help. I have a file with both numeric and character data.
and i imported these to a 2d array(of type string) in mosel.

Now, this is what I wanna try...

Can I access a column from this array and then extract the numeric
value (in effect i wanna convert the string type info to numeric data
type) .

Like for ex... if i have the following row in an array in mosel

1 12 asd 34 abb

can i access the values 1, 12 and 34 and use them as numerics (as in,
can i later on use these in calculations as numbers; they are
currently defined as string types))?

is there a function which can convert string type to numeric ...or
something that can extract numeric information from within a
string????

Thanks in advance!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google