A=1 B=3.5 C=1.2.3 D=-18.3 E=5.6.7.8
A=2 B=7 C=1.2.3 D=-36.6 E=5.6.7.8
[ 1] while(<>) [ 2] { s/(?<!\.)(\d+(\.\d+)?)(?!\.)/$1 * 2/ge; } [ 3] print;