분류
javascript
웹 및 노드용 초소형 (1kb) 자바 스크립트 통화 변환 라이브러리
본문
https://github.com/sliptree/money.js
http://openexchangerates.github.io/money.js/
<script src="path/to/money.js"></script>
// Using defaults: fx.settings = { from: "USD", to: "GBP" }; fx.convert(1000); // 647.71034 // With options: fx.convert(1000, {to: "HKD"}); // 7781.91949 (default `from` currency) fx.convert(1000, {from: "GBP", to: "HKD"}); // 12014.50549
- 이전글Bootstrap Star Rating 18.10.20
- 다음글목차를 동적으로 생성해야 하는 경우 - Tocify 18.10.20