Eng 6265 add format currency func

Add a SQL function, FORMAT_CURRENCY. Its function is return a string in xx,xxx,xxx.xx format given a number. 
We usually reserve the lowest possible negative value of a type to represent null values of that type. I don't know whether I expect this value to be treated as null or not.