[Solved] Adding negative formatting for custom number format

Gw2Gamer Asks: Adding negative formatting for custom number format
I have a custom number format that formats a number into an in-game currency, the currency is broken down into copper, silver and gold with the following conversion;

1 gold = 100 silver = 10000 copper

The following formula works great for any positive number; [<100]#”c”;[>10000]#”g “##”s “##”c”;#”s “##”c”;

But when applied to a negative number the formatting fails and displays -50000c instead of -5g is it possible to amend the formula to also apply the correct formatting to negative numbers as well?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.