Format currency with zero padding where appropriate