Home | Scripting Techniques
Big Marvin This site publishes web authoring works done by Big Marvin.

Cleaning Inputted Numeric Values

This script will spaces and comas from inputed numeric values.

<script language=vbscript>
function cleannumeric(nvalue)
for a=1 to len(nvalue)
 b=mid(nvalue,a,1)
 if b=" " or b="," then b=""
 c=c+b
next
cleannumeric=c
end function </script>



Email me at: big_marvin@hotmail.com

1