Did you try to search at all for a solution? An answer was given in the forum just a week ago. — Tom
I use %xlate inside %dec so the decimal can float. This replaces commas with spaces that are ignored by %dec
MyNumField = %DEC(%XLATE(‘,’:’ ‘:MyCharField):15:5)
Search for Bob Cozzi’s CharToNum procedure. Works great. He even includes the source code in the posting.