|
-
Oct 10th, 2017, 03:39 AM
#1
Thread Starter
Member
[RESOLVED] Convert some parts of a little string in integer or double.
Hi! I have an string like this:
The power is -50dBm@1MHz
I want to select only the part of -50 (including the minus sign since the number can be positive or negative) and convert it in a double variable to work with it.
I know that I have to use the val() function but I don´t know how select only the numer with the minus sign
Anybody can help me?
Thank you!
Tags for this Thread
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
|