Build a Currency Converter Google Chat App with Google Apps Script (4)

Описание к видео Build a Currency Converter Google Chat App with Google Apps Script (4)

In this part 4 of our tutorial on creating a Currency Converter Google Chat App in Google Apps Script we finally connect the Exchange Rate API to the /xe slash commands.

We will only face one tricky bit in this tutorial with how JavaScript handles rounding up decimal numbers with fives which we will cover in the video.

We will be returning more than just the basic exchange rate. We will return the one unit value from source to destination and then the same for a destination to source. We will also add in the date for convenience.

To the written tutorial: https://yagisanatode.com/2022/10/07/d...

Tutorial Contains:
Starter Script for this stage of the tutorial: https://yagisanatode.com/2022/10/07/d...
More details on handling decimal behaviour in JS.
Further details on important parts of the tutorial.

00:00 What we're building
01:39 Update attemptConversion()
03:10 Setup currencyConversion()
08:03 Returning a value up to 6 decimal places.
15:35 Conversion message text
18:43 Deploy and test

#GoogleAppsScrippt #AppsScript #googlechat #currencyconverter #javascript ‪@googleworkspacedevs‬

Комментарии

Информация по комментариям в разработке