jpySgd
Script
v3
Fork
1
2
3
4
5
6
7
import
{
currency
}
from
"https://esm.town/v/stevekrouse/currency?v=23"
;
// Convert amount from JPY -> SGD
export
const
jpySgd
=
async
(
amount
:
number
=
1000000
)
=>
{
let
amountSgd
=
await
currency
(
"sgd"
,
"jpy"
,
amount
)
;
return
amountSgd
;
}
;