How do you know whether your $a is joined from (12.24, 24.4812367) or (12.242, 4.4812367)?
I think you don't. Keep numeric data in an array and don't do arithmetic on strings. Your e1() and e2() subs are fine as arithmetic, so look at map or a loop construct.
Update: Take a look at PDL for efficient numeric operations on arrays of data.
After Compline,
Zaxo
In reply to Re: Is this enough good, or can be improved?
by Zaxo
in thread Is this enough good, or can be improved?
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |