Created
December 4, 2023 18:48
-
-
Save lbdyck/193f8c6cc1efcbe6f9fe7bd07d2655fd to your computer and use it in GitHub Desktop.
Add Comma to any Number
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddComma: Procedure /* Code provided by Doug Nadel back before the turn of the century */ | |
arg bignum | |
cbignum = strip(translate('0,123,456,789,abc,def,ghi,jkl,mno,pqr,stu,vwx', , | |
right(bignum,34,','), , | |
'0123456789abcdefghijklmnopqrstuvwx'),'L',',') | |
return cbignum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment