I often find that GL account numbers using this system do not show a zero value for the sub level but rather have blanks. Still, sometimes the system is configured to show a value such as "720-000". Either way, a slight revision to Olly's proposed solution will handle this:
Revise the "000" to "0" as necessary.
Be sure to set your Null optional display value as you require for your output.