首页 > 其他 > 详细

erlang学习总结(一)

时间:2015-03-30 19:01:51      阅读:183      评论:0      收藏:0      [点我收藏+]

If you want to express integers in other bases than base 10, just enter the number as Base#Value (given Base is in the range 2..36):

1.10> 2#101010.
2.42
3.11> 8#0677.
4.447
5.12> 16#AE.
6.174



本文出自 “______” 博客,请务必保留此出处http://464559.blog.51cto.com/454559/1626423

erlang学习总结(一)

原文:http://464559.blog.51cto.com/454559/1626423

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!