How to convert decimal to binary?

Hello
any idea how to convert a decimal value to binary?
example: in Excel DEC2BIN(156) = 10011100
How to do it with KNIME?
Thank you

You could do that with a Java snippet

kn_example_to_binary_string.knwf (11.4 KB)

4 Likes

Thank you so much !!!
:slight_smile:

Hi there,
Sorry for open back such an old thread, but is there somebody with an simple way to do basically the same just for an double instead of an integer?

Thanks a lot!