摘要
本文研究的对象为有特殊取整需求的大型数据表格,分析了采用四舍五入取整会导致算法更为复杂,从而得出对数据进行向下取整更优的结论。研究了一维数组表格和二维数组表格的取整算法,通过把大型数据表格拆分为四个层次的表格,运用一维数组表格和二维数组表格的取整算法,最终完成整个大型数据表格的取整。
The object of the study is a large data-table with special needs.Half adjust will make the rounding algorithm more complex,and round-down is better than it for the large data-table.The rounding algorithm of one-dimensional array table and two-dimensional array table is studied.By separating the large data-table into four levels tables,the whole large data-table is finished by using the rounding algorithm of one-dimensional array table and two-dimensional array table.
作者
刘杰
LIU Jie(Guangdong Planning and Designing Institute of Telecommunications Co.Ltd.,Guangzhou 510630,Guangdong)
出处
《电脑与电信》
2018年第5期71-73,共3页
Computer & Telecommunication
关键词
取整算法
一维数组表格
二维数组表格
表格分层
rounding algorithm
one-dimensional array table
two-dimensional array table
table stratification