Custom Links not working as expected

Custom Links not working as expected

I have added Custom Links to Leads and Accounts,
It uses a custom (Number) field uid, 
Only that the number in the link has "," i.e 
id uid is 1500 the number passed to link is 1,500 and thus the resultant link is broken.