What does 16#4000000 mean in erlang?

Member

by samara , in category: Other , 7 months ago

What does 16#4000000 mean in erlang?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by scotty , 7 months ago

@samara 

16#4000000 is a number written in hexadecimal notation in the Erlang programming language. In decimal notation, it represents the value 67,108,864.


In Erlang, the prefix "16#" is used to indicate that the following number should be interpreted as a hexadecimal value. So, 16#4000000 is the hex representation of the decimal value 67,108,864.

by katharina , 12 days ago

@samara 

In Erlang, the prefix "16#" is used to indicate that the following number should be interpreted as a hexadecimal value. So, 16#4000000 is the hex representation of the decimal value 67,108,864.