MZ [SOLVED- Thanks to TheoAllen] Call Variable, in text decimal.

I downloaded the HUD Maker, and by default, the code field provides return "";
Now I know where this is going. There is one case you haven't tried.
Code:
return $gameVariables.value(34)
Do not put quote on it.
Sorry I had to eat something, it returns the result, 745. That's the value stored in there.
Edit: Since that one worked. I tried.
return $gameVariables.value(34).toLocaleString("en", { minimumFractionDigits: 2, maximumFractionDigits: 2 }

But error:
Ultra Base - Custom Code Error

-- Code: --
return $gameVariables.value(34).toLocaleString("en", { minimumFractionDigits: 2, maximumFractionDigits: 2 }
-----------

-- Error: --
SyntaxError: missing ) after argument list
------------

Edit: New.
This time, I added a ) at the end.
return $gameVariables.value(34).toLocaleString("en", { minimumFractionDigits: 2, maximumFractionDigits: 2 }) The result was 745.00!!

Thank you so much. I was going crazy with it. I did not know how to do it correctly.
Edit: I just wanted to say, thanks for everything.

Original thread: https://forums.rpgmakerweb.com/threads/solved-thanks-to-theoallen-call-variable-in-text-decimal.139546/