Skip to main content

robuxConversionUtil

A simple utility module for working with robux related conversions.

Functions

robuxToDevexAmount

robuxConversionUtil.robuxToDevexAmount(robuxnumber) → number

Returns the given robux converted to dollars.

devexAmountToRobux

robuxConversionUtil.devexAmountToRobux(dollarnumber) → number

Returns the given dollar converted to robux.

Show raw api
{
    "functions": [
        {
            "name": "robuxToDevexAmount",
            "desc": " \nReturns the given robux converted to dollars.",
            "params": [
                {
                    "name": "robux",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "number\n"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 14,
                "path": "src/robuxConversionUtil/init.luau"
            }
        },
        {
            "name": "devexAmountToRobux",
            "desc": " \nReturns the given `dollar` converted to robux.",
            "params": [
                {
                    "name": "dollar",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "number\n"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 22,
                "path": "src/robuxConversionUtil/init.luau"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "robuxConversionUtil",
    "desc": " \n\nA simple utility module for working with robux related conversions.",
    "source": {
        "line": 6,
        "path": "src/robuxConversionUtil/init.luau"
    }
}