关于VB日期时间计算误差的分析  

Error of VB Calculation on Date and Time

在线阅读下载全文

作  者:叶喜民[1] 余超[1] 

机构地区:[1]新乡学院计算机与信息工程学院,河南新乡453003

出  处:《河北北方学院学报(自然科学版)》2010年第4期46-47,52,共3页Journal of Hebei North University:Natural Science Edition

摘  要:对在VB程序设计中,时间日期进行差量计算或比较时存在误差的问题进行了分析、研究,通过把程序调试后时间日期变量的原始值复制出来进行计算、对比,研究得出误差产生的根本原因在于VB程序中时间、日期型数据的存储形式为IEEE 64位(8字节)浮点形式.The problem of existing error when time and date are under difference calculation or com- parison in the design of vb program is analyzed and researched. Throuth copying the original value of variable after debugging the program to do calculation or comparison, the research shows that the basic reason of error in the date storing form of time and date in vb program is IEEE 64-bit (8 bytes) floating-point format.

关 键 词:VB 日期 时间 误差 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象