MediaWiki talk:RobuxUSDConverter.js/Archive 1

Interface-protected edit request on July 2, 2020
The current USD conversion widget can only convert between Robux and USD using the DevEx Rates. I propose an edit which adds radios to let people convert using either the DevEx rates or the Purchase rates. This edit would: The full edited code is as follows:
 * Change the HTML of the div to have radio buttons to select between DevEx rates and the Purchase rates,
 * Add a function in the JavaScript that is called when the user clicks on a radio which changes the rate used for conversion,
 * Edit the functions "convertRobux" and "convertUSD" to use the rate variable instead of the hardcoded 0.0035 for conversion.

Here is an example of the new script (albiet with no CSS):

Thanks for considering this edit,

HotDog 640 (talk) 00:12, July 2, 2020 (UTC)
 * P.S. The DevEx rates will remain the default option. HotDog 640 (talk) 00:15, July 2, 2020 (UTC)

I've edited the code some more. Basically, when a user switches between DevEx mode and Purchase mode, it will convert from either the Robux or USD box, whichever was most recently used. It also gets rid of the unnecessary closing  tag in the HTML. The code is as follows:

HotDog 640 (talk) 17:07, July 2, 2020 (UTC)
 * This looks good, I have directly sent this to the administrators for them to add your revision. Michael (talk) 17:21, July 2, 2020 (UTC)
 * Thanks so much Michael, HotDog 640 (talk) 17:24, July 2, 2020 (UTC)