You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
EXAMPLE: y = moneysplit(3679.02,[100 100 200])
---> [919.75 919.76 1839.51]
PURPOSE: When sums of money are divided, and when the dividend amounts have been rounded to the nearest cent, they may not add up exactly to the total. It is then necessary to look at further decimal places, in order to find 'the best candidates' to change.
This function performs the task, and makes sure that the smaller amounts add up exactly to the total. This is no 'rocket science' program, but it can be of help in filling in expense accounts, and also in the subdivision of share-lots for a tax return.
Cite As
John T. McCarthy (2026). moneysplit (https://www.mathworks.com/matlabcentral/fileexchange/24312-moneysplit), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.61 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
