I am looking for an easy way to flip an integer in erlang. Example: 1234 to 4321
You can use some of the built-in functions to make this easy.
1> list_to_integer(lists:reverse(integer_to_list(1234))). 4321
Source: https://habr.com/ru/post/1761965/More articles:Delphi - event processing using end-to-end threads - multithreadingHow to select jQuery child with one selector? - jqueryUnable to decode JSON string in php - jsonWhy is maven setting the wrong place? - javaHow to overlay a binary resource on a short array? - c #Сгенерировать PHP-код из WSDL (для замены службы) - wsdlDynamically show / hide Facebook as a button - facebookhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1761968/how-to-programatically-publish-ebooks-to-kindle-sony-reader-etc&usg=ALkJrhgwhpysFYvdFCfnznwxPbcpZin63wWhat is the easiest way to get a binary representation of an integer? - .netdocument.activeElement returns body in Chrome and Safari - javascriptAll Articles