Currency converter with combined output

Asked Mar 30, 2023·2 replies·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

2 replies

Hey @Fuzzy Frog!

This should do what you're looking for:

$(eval c = s => s.replace(/\d+\sHUF\s/, ''); u = '$(urlfetch https://decapi.me/misc/currency?value=$(1)&from=HUF&to=USD)'; e = c('$(urlfetch https://decapi.me/misc/currency?value=$(1)&from=HUF&to=EUR)'); a = c('$(urlfetch https://decapi.me/misc/currency?value=$(1)&from=HUF&to=AUD)'); `${u} ${e} ${a}`;)