I posted in the wrong forum before, so I have to delete that. But I am struggling trying to call a normal variable, and the gold in a custom menu with decimals. So it comes out as, 1,430.00 and not 1430. It's been bugging my OCD bad, I am terrible at JS. It's really hard for me, with my learning disability. But I'm trying.
I posted in the wrong forum before, so I have to delete that.
But I am struggling trying to call a normal variable, and the gold in a custom menu with decimals.
So it comes out as, 1,430.00 and not 1430. It's been bugging my OCD bad, I am terrible at JS.
It's really hard for me, with my learning disability. But I'm trying.
I've looked at:
But I don't see anything for displaying text in a string, or I'm being dumb again and did not see it.
Only thing I've found after days, is this.
Steam Forums suggestion: $gameParty._gold.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
It just outputs a )
Google, RPGM Forums: $gameVariables.value(34).toLocaleString("en", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
It works for storing the value, but I need it to call it and output as decimal.
It's probably something simple, I just need help I can't figure it out. Somebody please help.

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.