Objective
Implement a function that writes cents into out as a decimal amount with exactly two digits after the point, and returns the number of characters written.
Steps
$ money_format(1337, out)
13.37 5
$ money_format(0, out)
0.00 4
$ money_format(5, out)
0.05 4
$ money_format(-1, out)
-0.01 5
$ money_format(LONG_MIN, out)
-92233720368547758.08 21
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Implement a function that writes cents into out as a decimal amount with exactly two digits after the point, and returns the number of characters written.
Steps
$ money_format(1337, out)
13.37 5
$ money_format(0, out)
0.00 4
$ money_format(5, out)
0.05 4
$ money_format(-1, out)
-0.01 5
$ money_format(LONG_MIN, out)
-92233720368547758.08 21
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code