Skip to Content
avatar image
Former Member

Integer to Binary and Binary to Hexadecimal

Hello everyone,

is there a funtion to convert from integer or decimal to binary and a binary to hexadecimal.

Thank you for your help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 11, 2016 at 09:42 PM

    Samuel,
    As Swaroop noted there is nothing built in that I am aware of. Here are some ideas you can also try:

    • Use an SQL query to do the conversion.
    • Use an xsl transform, possibly calling some static java methods.
    • Develop a custom action

    What is your use case?

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Samuel Harr wrote:

      ....Though technically that may work but I would never call SQL to do some Business logic there. ....

      It may not be the best solution for your particular issue but in general I would never say never. 😊

      Samuel Harr wrote:

      ... Anyway that is bad that there is no such an Action block to do such a conversions.

      Hopefully that will come in future release. ...

      You could always share your custom Action with the forum. 😊

      Regards,
      Christian

  • Jan 11, 2016 at 02:49 PM

    Hi Sam,

    We do not have a built in function to help you in your case. You may have a look on JS based conversions or some api that you can integrate.

    Regards,

    Swaroop

    Add comment
    10|10000 characters needed characters exceeded