utility.fromRUB(number,string)

Convert specified rouble amount into specific currency Number need to be any value String should be the currency tpl of the amount you want to convert into rouble

Usage exemple :

const number = 150000
const currency = "dollar_tpl"
const convertedAmount = utility.fromRUB(number,currency)

Last updated