05-18-2012 08:22 AM
How do I convert an array of strings (that are numbers) to an array of numbers so I can find the maximum value? I've tried using the code below in the snippet but my numbers are coming out way too large.
Solved! Go to Solution.
05-18-2012 08:28 AM
It is much easier than that.
05-18-2012 08:32 AM
Thanks, aeastet!
05-18-2012 09:26 AM
You are welcome
08-27-2012 03:08 PM
What is the tool that you used to do that (the one icon that say 999). This is just a picture, so I can't actually find what that is called or what pallet it is in.
08-27-2012 03:14 PM
Decimal String to Number. Should be on the Programming - String - String/Number Conversion...at least thats where mine is. ![]()
08-27-2012 03:16 PM
@Peter O'Connell wrote:
What is the tool that you used to do that (the one icon that say 999). This is just a picture, so I can't actually find what that is called or what pallet it is in.
Decimal String To Number Function
(Note that if your values are not integers, you might want to use this instead)
08-27-2012 03:18 PM - edited 08-27-2012 03:19 PM
@Eric1977 wrote:
Decimal String to Number. Should be on the Programming - String - String/Number Conversion...at least thats where mine is.
BEWARE that unless these are interger strings, you want to use FRACT/EXP String to Number!!!
[Edit] Okay, so I'm a slow typer... 😉
08-27-2012 09:21 PM
@Peter O'Connell wrote:
What is the tool that you used to do that (the one icon that say 999). This is just a picture, so I can't actually find what that is called or what pallet it is in.
It's actually not "just a picture". It is a snippet. If you drage that image from Internet Explorer to your block diagram, it drops it as code.