搜索资源列表
TK
- 旅行家问题 一个旅行家想驾驶汽车以最少的费yi 用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离为D1、汽车油箱的容量为C(以升为单位),每升汽油能行驶的距离为 D2,出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点距离Di,每升汽油价格Pi(i=1,2...N)。计算结果四舍五入至小数点后两位。 如果无法到达目的地,则输出“No Solution\"。-issue a travel home to travel home to drive a car w
source_math
- 四舍五入是怎么算的,看看round这个函数,你就不会有烦恼了
sswr
- 四舍五入的DLL文件。没有使用第三方控件
高级计算器 V1.0
- 系统支持的数学函数:PI ! ^ % SQR SQRT INT/TRUNC ROUND ABS FRAC SIN COS TAN ARCSIN ARCCOS ARCTAN LN LOG2 LOG10PI:圆周率。Exp!:计算Exp(表达式)的介乘。Exp1^Exp2:计算Exp1的Exp2次方。Exp1%Exp2:计算Exp1除以Exp2后的余数。Sqr(Exp):计算Exp的平方。Sqrt(Exp):计算Exp的平方根。Int(Exp)/Trunc(Exp):把Exp截断取整。Round(E
a few small c program
- 四舍五入的方式精确到小数点后第四位,把一张一元钞票,换成一分、二分和五分硬币,每种至少11枚,问有多少种方案等
EXCEL格式工资管理系统
- 工资管理系统简介 (网址:http://blog.sina.com.cn/s/blog_5488e3a90100gwo4.html) 这是一款适用于中小企业的工资管理软件,具有以下特点: 一、提供了三十多项实用功能,可以与收费的商业软件相媲美; 二、用你最熟悉的EXCEL编写,所见即所得,直接使用,无需学习; 三、完全开放源代码,你可以看到所有代码,并可以跟踪代码的执行,让你消除对宏病毒的担心; 四、数据与代码在一个文档中,不使用额外的数据库,不需要安装,即拷即用,真正做到绿色版; 五、持续更
tekey5 函数的功能是对变量h中的值保留2位小数
- 函数的功能是对变量h中的值保留2位小数,并对第三位进行四舍五入。-Function is the function of the value of the variable h 2 decimal places, and the third to rounding.
SSWR
- 一个以DELPHI开发的四舍五入函数,非常好用,大家多多支持-DELPHI developed a rounding function, very easy to use, we can support
baoliuxiaoshu
- 编写函数double fun(double x, int m),它的功能是将浮点数X保留M个小数,第M+1位四舍五入,如输入123.456,保留两位小数输出123.46-The preparation of function double fun (double x, int m), its function is to float X retained a small number of M, the first M+1 bit rounded, such as the importation
floatfun
- 编函数 float fun(double h),函数的功能是:对变量h中的值保留两位小数,并对第三位进行四舍五入(规定h中的值为正数)。 例如:若h 值为8.32433,则函数返回8.32 若h值为8.32533,则函数返回8.33。 -Function for float fun (double h), the function of function: The value of the variable h in the retention of two decimals, and
sishewuru
- 可以精确到小数点后两位的算法 四舍五入的方法-Can be accurate to two decimal places rounding algorithm approach
1088
- 数理逻辑考试 数理逻辑考试中,老师一共出了N道题目,其中需要选做M道。我们可以从N道题目中任意的选择M道,并对他们进行排序,排在不同位置的题目分值不一样。比如,有7道题目,我们可以任选6道,各个题目分值不一,例如放到第1个位置的题目分值为22分,第2个是21分,第3个是19分,第4个是18分,第5个是12分,第6个是8分,多做不给分。 输入数据的第一行包括两个整数N,M,其中(0<M<=N<=100)。 输入数据的第二行包括M个整数,第i个数字表示放在第i个位置
t51
- 用VHDL设计一个四舍五入判别电路,其输入为8421BCD码,要求当输入大于或等于5且小于10时,判别电路输出为1,小于5为0,大于等于10时输出为高阻态。 -VHDL design with a rounded judge circuit, its input 8421BCD code require that when the input is greater than or equal to 5 and less than 10, the discrimination circuit ou
uctlNumber
- VB控件,数值型。提供向上取整,四舍五入,向下取整,设置小数精度,设置千分位等扩展功能。注释语言若果乱码请改用日语编码。-VB Controls, numerical model. To provide rounded up, rounded down to take the whole set decimal precision, set thousands of sub-spaces, etc. extensions. Note If garbled please use Japanese
get_num
- 本程序主要是对一个float或者double型的数据,进行取整,这个浮点型数据可正可负,均可以进行,取整原则是 四舍五入。-This procedure is mainly of a float or double type of data, rounding, the float data can be positive or negative, can be, take the whole principle of rounding.
bcdmaxianshiyiyunsuan
- 设计一个四舍五入判别电路,其输入为8421BCD码,要求当输入大于或等于5时,判别电路输出是1,反之为0。-Design a rounded discrimination circuit, the input 8421BCD code requirements when the input is greater than or equal to 5, the discrimination circuit output is 1, otherwise 0.
jiandandezuheluojidianlusheji
- 四舍五入判别电路。 设计一个四舍五入判别电路,其输入为8421BCD码,要求当输入大于或等于5时,判别电路输出是1,反之为0。-Rounding discrimination circuit. Design a rounded discrimination circuit, the input 8421BCD code requirements when the input is greater than or equal to 5, the discrimination circuit o
001new
- 0—100 整数加减乘除四则运算,如结果为小数四舍五入保留小数点后两位。 根据输入题数出题,题目应为随机,每次应不一样。
Lab9
- 一个能完成四舍五入的.V文件 主要是为了能开通帐号而上传的-One can finish rounding. V document was to open accounts and upload to
Case.to.digital.converter
- 1,可转换万亿以内的人民币金额数字 2,可转换到小数点后2位,精确到分,后面直接舍去,没做四舍五入 3,本程序未作完整字符过滤,请勿尝试无关字符 4,输入的金额可以带逗号比如123,456,000 也可以不带逗号-1, can be converted trillion yuan less than the amount of number 2, can be converted to decimal 2, accurate to the point, followed by dir