Decimal Format Added

added the function for decimal format, the method used i think is ok
but I will look into it when I get home tonight.
added many functions durring work

plenty of things added still having issues with the final array
function.  it wont sort!!!