def int_to_decimal_str(integer):
int_string = str(integer)<EOL>if len(int_string) < <NUM_LIT:2>:<EOL><INDENT>return "<STR_LIT>" + int_string.zfill(<NUM_LIT:2>)<EOL><DEDENT>else:<EOL><INDENT>return int_string[:-<NUM_LIT:2>] + "<STR_LIT:.>" + int_string[-<NUM_LIT:2>:]<EOL><DEDENT>
Helper to convert integers (representing cents) into decimal currency
string. WARNING: DO NOT TRY TO DO THIS BY DIVISION, FLOATING POINT
ERRORS ARE NO FUN IN FINANCIAL SYSTEMS.
@param integer The amount in cents
@return string The amount in currency with full stop decimal separator