I have the following problem: I have a decimal value representing money, with 2 decimal places. I need to split it into X equal parts also represented as decimals with 2 decimal places.

Example 1: splitting 1.04 (1 dollar and 4 cents) into 3 equal parts should give: 0.35, 0.35, 0.34

Example 2: splitting 0.01 (1 cent) into 3 equal parts should give: 0.01, 0.00, 0.00

and so on.