Drupal 8 exchange rate Costa Rica

The module generates a form to calculate Costa Rica Colon (CRC) exchange rate vs United State Dollar (USD).
It will also generate a block so you can place the form in any Drupal region.
This module uses the exchange rates provided by Banco Central de Costa Rica. http://www.bccr.fi.cr/

Installation

Downloading compressed file:

Download the file, then put it in contrib modules folder and unpack.

Using composer:

You also can use composer to install the module, running the command composer require/exchange_rate_cr.

Once we have the module folder go to /admin/modules and enable it.

Now is ready to use.

How to use it.

Go to /admin/structure/block and place the block where you need it.

Now you should see the block:

Image
screen

Buy Rate, Sell Rate: Gives you the bank information about the rates.

Amount: Quantity to convert.

From: Currency that you have.

To: Currency that you need.

Now you can convert from colones to dollars or the other way around.