danilyer228/privat_cool_lib

Simple library for currency exchange

1.0.1 2021-09-24 13:18 UTC

This package is auto-updated.

Last update: 2021-09-24 13:20:09 UTC


README

Install

composer require danilyer228/privat_cool_lib

Usage

use PrivatCoolLib\Exchange;

$exchange = new Exchange("USD", "UAH", 100);
// Вернет около 2727,12
var_dump($exchange->toDecimal())