|
-
Aug 4th, 2000, 06:09 AM
#1
Thread Starter
Hyperactive Member
dim mystr as string
mystr = "£1.23"
val(mystr) = 0
so how to i get to 123 or 1.23?
Are there any functions to do this or do i have to do it myself?
Thanks,
alex.
-
Aug 4th, 2000, 12:57 PM
#2
Thread Starter
Hyperactive Member
Thanks - i`m off home for the weekend, so i`ll either check it out then, or monday. It could also be in the form
"£1,234,567.89" but maybe val doesnt mind commas.
Didnt think of that though - i`m imagined some function which only takes numeric chars into account! Doh!
Thanks again,
alex
-
Aug 4th, 2000, 01:31 PM
#3
Junior Member
Try this
Why not just do this:
mystr = right(mystr, len(mystr)-1))
Don't even use Val.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|