Public
Edited
May 22, 2023
Insert cell
Insert cell
rough = 102
Insert cell
points = 88702684
Insert cell
Insert cell
Insert cell
Insert cell
currentJPYSGD = 0.009851
Insert cell
backRate = 1 / currentJPYSGD
Insert cell
bestJPYSGD = {
const rates = new Map()
const all = []
for (let i = 1; i < 2e4; ++i) {
const j = Math.floor(i * currentJPYSGD * 100)
const rate = j / i
if (rates.has(rate)) continue
rates.set(rate, [i, j / 100])
}
return [...rates.keys()].sort((a, b) => b - a).slice(0, 20).map((r) => [r, ...rates.get(r)])
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more