📘
EFT
  • JustEmuTarkov Wiki FanMade
  • functions
    • helpfunctions
      • findAndReturnChildren
      • utility.isMoneyTpl(tpl)
      • utility.payMoney(pmcData, body, sessionID)
      • getItem
      • utility.getCurrency(string)
      • findMoney
      • getMoney
      • isDogtag
      • utility.inRUB(number,string)
      • getSize
      • replaceIds
      • utility.fromRUB(number,string)
      • utility.recheckInventoryFreeSpace(pmcData, sessionID)
      • getChildId
      • getPlayerStash
    • utility
      • utility.makeSign()
      • utility.generateNewItemId()
      • utility.getRandomIntEx(number)
      • utility.generateNewAssortId()
      • utility.getTimestamp()
      • utility.removeDir()
      • utility.adlerGen(string)
      • utility.generateNewId(string)
      • utility.getDate()
      • utility.getRandomInt()
      • utility.getDirList(path)
      • utility.getTime()
      • utility.getLocalIpAddress()
      • utility.clearString(string)
      • utility.generateNewDialogueId()
  • tutorials
    • modding
      • locales
        • locale_edits
      • traders
        • traders_edits
      • assorts
        • assorts_edits
      • items
        • items_edits
        • backpacks_cells
        • weapons_edits
      • bots
        • bots_edits
      • maps
        • maps_edits
      • weather
        • weathers_edits
      • hideout
        • hideout_edits
    • create_a_mod
    • edit_weapons_texture
    • create_weather
  • resources
    • Traders ID
    • Hideout ares
    • All nodes ID
Powered by GitBook
On this page

Was this helpful?

  1. functions
  2. helpfunctions

utility.inRUB(number,string)

Convert specified amount from specific currency into roubles 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.inRUB(number,currency)
PreviousisDogtagNextgetSize

Last updated 5 years ago

Was this helpful?