摘要
用手工进行数制转换一是麻烦,二是易错,当一个数既有整数部分,又有小数部分且数值较大时尤其是这样。而一般计算器又不支持小数转换。文中介绍的基于VB的多数制转换器,方便实用。由于它的自定义数制转换函数按普适的转换算法编写,所以只要简单加以扩充,可完成十进制数向任意数制的转换。
Number conversion by hand,one is in trouble,and the other is error-prone.When a number has both integer part and decimal part,and value is the larger,especially so.And general evaluator does not support decimal conversions.This article describes converter of multiple number system based on VB,convenient and practical.Because,according to the generally applicable converts a decimal number to other number systems conversion algorithm for writing a custom function,so as long as the simple expansion,decimal to any number system conversion can be accomplished.
出处
《电脑知识与技术》
2011年第12X期9390-9391,9415,共3页
Computer Knowledge and Technology