BizTalk Mapper Extensions UtilityPack: Remove Trailing Zeros Functoid for BizTalk Server 2020

Today, almost two years after the last update on the package, I updated it with a new functoid: Remove Trailing Zeros Functoid, which is now part of the BizTalk Mapper Extensions UtilityPack project available for BizTalk Server 2020.

Remove Trailing Zeros Functoid

This functoid allows you to remove any trailing zeros from the input string. In other words, it removes the last three characters (“.00”).

  • This functoid requires one input parameter:
    • String to remove trailing zeros;
    • Examples:
      • Input:"1.00" – The string ends with .00, so the function returns "1".
      • Input:"12.00" – Ends with .00, so it returns "12".
      • Input:"12.34" – Does not end with .00 (the decimal part is .34), so it remains "12.34".
      • Input:"100.00" – Ends with .00, so it returns "100"

BizTalk Mapper Extensions UtilityPack

BizTalk Mapper Extensions UtilityPack is a set of libraries with several useful functoids to include and use it in a map, which will provide an extension of BizTalk Mapper capabilities.

BizTalk Mapper Extensions UtilityPack for BizTalk Server 2020

Where can I download it?

You can download the complete Azure Function source code here:

I hope you find this helpful! If you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego! 

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

turbo360

Back to Top