credits_value

MPF machine variable

The human readable string form which shows the number value of how many credits are on the machine, including whole and fractional credits, for example “1” or “2 1/2” or “3 3/4”.

If you want the full string with the word “CREDITS” in it, use the “credits_string” machine variable.