HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Data Structure of Money

FieldColumn TypeDescriptionExample 1Example 2
Currency without cents
不會有小數點的幣值
(TWD/JPY)
Currency with cents
會有小數點的幣值
(HKD/USD/MYR/CNY)
centsNumberNumber format in cents
開始計算的數值
30
The number is same as dollar in the currency without cents
1160
currency_symbolStringCurrency symbol to display
呈現貨幣符號
NT$ HK$
currency_isoStringCurrency ISO (ISO-4217)
ISO 4217 貨幣代碼
TWD HKD
labelStringMoney to display
e.g: "NT$123"
呈現符號+金額
NT$30 HK$11.60
dollarsNumberNumber format in dollars
開始計算的數值
30.0 11.60
{	
  	"cents": 30,
    "currency_symbol": "NT$",
    "currency_iso": "TWD",
    "label": "NT$30",
    "dollars": 30.0
        
}