Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

RSView question about strings

Status
Not open for further replies.

Wolfsnap

Industrial
May 19, 2003
2
I need to read from two different integer files and combine the results into a display, do some math to the result, and send the final result back to another integer. The problem starts with the "combining" - I don't want to add them, just combine them. Example, if I have a 6 in N9:1 and a 3 in N9:2, I need the final result to be 63 (not 9).

I was able to do this by creating two string integers that read from the two integers and combining them with an expression (N9:1)+(N9:2) to display in a numeric display (which seems to work fine - don't know if I'm breaking any rules here)

My problem now is that I need to perform a calculation on the displayed result and send it to, say, N9:3 (Actually, I need to do several calculations with that number and sent the various results to individual integer files)

Any help along these lines would be greatly appreciated!

Wolf
 
Replies continue below

Recommended for you

I would multiply the N9:1 by 10, then add the two.
 
OMG - I never thought of that! That simplifies everything I need to do! I can't tell you how much that small suggestion helped!! I've been overthinking the whole thing.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor