# 自动类型转换原则: 数据范围从小到大; long num = 100;

**URL:** <https://www.shiqidu.com/t/topic/1362>\
**Category:** 综合\
**Created:** [July 9, 2018, 4:26pm UTC](https://www.shiqidu.com/t/topic/1362 "2018-07-09T16:26:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon](https://www.shiqidu.com/user_avatar/www.shiqidu.com/leon/32/5_2.png) [@Leon](https://www.shiqidu.com/u/Leon)\
**Post date:** [July 9, 2018, 4:26pm UTC](https://www.shiqidu.com/t/topic/1362/1 "2018-07-09T16:26:07Z")

</div>

自动类型转换原则:  
数据范围从小到大;  
long num = 100;
