Gold display gone haywire

For no reason which I can see, the display of how much gold the player has changed from the normal to decimal point.  

first%20gold%20image_zpsddhxqxw5.png


2nd%20gold%20image_zpsjqkgnsps.png


Can anyone suggest causes for this, and/or point me to where in the default scripts this is handled?

Thank you.
This means that at some point, a float is given to a method that changes your gold.
Good scripts gone bad!!

One of your shop scripts, or some other script that affects gold, did a calculation and failed to cast the result back into an integer (which can be fixed by adding .to_i to the result).
@wavelength

I don't have a shop script, so which default script should I be looking at?
Did you have any script that modifies gold? Like a script that handle's monster drops after battles etc.

You could always probably just add this

Code:
class Game_Party  def gold    return @gold.to_i  endend
I've passed this on to my tester, but he's just about to go out and so won't get to it for a couple of hours at least.

Here's hoping!

And thanks.
It's more of a last line of defense though, better find whatever it is than sent a float to your gold.
Most likely something divided integers into a float, such as 7/2 = 3.5.  Either track down what sets it, or just do what Adiktuzmiko posted and keep the float carry-over.
My problem is that, not being a scripter, I don't know what I should be looking for.
Did you have any script that modifies gold? Like a script that handle's monster drops after battles etc.

You could always probably just add this

class Game_Party def gold return @gold.to_i endend
Use that.
I'm waiting for my tester to come back to me.  I have never had this problem, so can't reproduce it.  It is so frustrating.
@Funplayer - Something like 7/2 cannot be the cause because an integer divided by an integer always return an integer in RGSSx. Operations only return a float if there is at least one float being operated upon.
We couldn't track down the float, but the snippet cured it.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/gold-display-gone-haywire.43390/