Watch this Author's files
Looks nice.
Careful with rounding though, not sure if this is the expected behaviour:
>> decround([3.1,4.1],2,'down') ans = 3.1000 4.0900
Also, you may want to add a 'nearest' as default for 'type' when only two arguments are given (use nargin).
Contact us