Eng 6524 add format currency func

The same comment about array initializer layout applies to s2/s3 below.