Convert ascii character values to number that comes between the numbers in UNIX

I have variable that contains multiple values of number and also include overpunch(i.e. # $ % etc) character so we want to replace it with numbers.
here are the example:

Code:

11500#.0#
28575$.5$
527#.7#
42".2"
2794 .4
2279!.9!
1067&.7&
926#.6#
2279!.9!
885".5"
11714$.4$
27361'.1'
2%.2%
533".3"

like :
$ascii_value = 886%.6% would be 88637.637

could you please help me out.

---------- Post updated 04-08-16 at 12:06 AM ---------- Previous update was 04-07-16 at 12:56 PM ----------

Can anyone help me!!!:confused::confused::confused:

Moderator comments were removed during original forum migration.