I understand how to use format. What I am interested in to know why you have to define a stat in definition->value expression, and then if you want to format it do the same kind of thing in format->format expression.
What I mean is taking the example in the guide, you $/100
definition -> value expression:- amt_won / (cnt_hands / 100)
format -> format expression:- format_money(amt_won / (cnt_hands / 100), true)
This seems like a lot of duplication and I'm not sure why it would be the case. Is it not possible to define the stat in the value expression then in the format expression do something like the following
format_money(this,true) ;
or something similar.
I also noticed that straight forward stat wanting to be formatted to 2 D.P are formatted as /%.2f. I kind of understand this, but could you explain what the /% stands for. Also if it is possible to do this with a standard stat, how come for the above example it isn't something like
format_money(%,true)
