📘
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.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)
PreviousreplaceIdsNextutility.recheckInventoryFreeSpace(pmcData, sessionID)

Last updated 5 years ago

Was this helpful?