Apologies if this is a dumb question but I'm trying to format a currency value for my iphone app and am struggling to left-justify the currency symbol, but right-justify the value. So, "$123.45" is formatted as (say)
$ 123.45depending on format-width. This is a kind of accounting format (I think).
ฉันได้ลองวิธีการต่างๆ ด้วย NSNumberFormatter แล้ว แต่ไม่ได้สิ่งที่ต้องการ
ใครสามารถให้คำแนะนำเกี่ยวกับวิธีการทำเช่นนี้?
ขอบคุณ
ลงตัวกับ