First sorry bout the repeat reply looked under mod thread to see if it posted. Anyway here it is
g_szTimeText = unicode(gc.getGame().getGameTurn()+1) + "/" + unicode(gc.getGame().getMaxTurns()) +" " + unicode(int(100*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))) + "." + unicode((int(10000*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))) - (100*(int(100*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))))) + "% " + unicode(CyGameTextMgr().getInterfaceTimeStr(ePlayer))
Even more messy, tried setting new variables to but could never get it right.
So I stuck to the originals. Basic breakdown is
unicode(int(100*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))) sets the Whole Digits.
The ".' puts a period on the screen beside the whole digits.
unicode((int(10000
*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))) - (100
*(int(100*((1.00*(gc.getGame().getGameTurn()+1)) / gc.getGame().getMaxTurns()))))) sets the two decimals.
The part after the minus sign is important or the percentage at turn#5 would look like this: 1.113. It takes the extra decimal place of and voila you have what you are looking for which is 1.13
There probaly is a simpler way of doing this but this will definately get the job done. Hope you find this useful. To get an extra decimal place simply add another zero where The green faces are.
Parenthesis tracking is pure hell