搜索资源列表
source_math
- 四舍五入是怎么算的,看看round这个函数,你就不会有烦恼了
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个位置
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.
001new
- 0—100 整数加减乘除四则运算,如结果为小数四舍五入保留小数点后两位。 根据输入题数出题,题目应为随机,每次应不一样。
Lab9
- 一个能完成四舍五入的.V文件 主要是为了能开通帐号而上传的-One can finish rounding. V document was to open accounts and upload to
yunsuanqi
- 制作一个可供小学数学运算的程序。0—100 整数加减乘除四则运算,如结果为小数四舍五入保留小数点后两位。根据输入题数出题,题目应为随机,每次应不一样。-Create a program for elementary school math. Math 0-100 integer arithmetic, as the result of rounding decimals to retain two decimal places. Enter the number of questions bas
CheckIDCard
- 转换人民币大小写,支持14位数字,精确到分,其他按照四舍五入-Conversion of RMB case, support 14-bit numbers, accurate to the sub, the other in accordance with the rounding
ferry
- 某汽车轮渡口,有n辆车要过河。n辆车只有两种要么是客车,要么是货车。已知过江渡船每次能载10辆车,从0分开始每10分钟来一次(即0分一辆,10分一辆,以此类推)。又知上渡船要遵守下述规定:若x分来了一辆渡船所有到大渡口时间<=x分且还没过河的车辆才可能上船,且客车先于货车上船,每上4辆客车必上1辆货车,这时若没有货车就上客车,若没有客车就上货车。试编写一个程序,模拟渡口的管理,统计客车和货车的平均等待时间。 输入格式: 第一行一个正整数n(1000 <= n <= 10
CSharp
- C# 小数进位、舍位操作方法,操作的数字、保留几位小数和保留几位小数逢几进位(设置成5为四舍五入)-C#
basicfunction
- 完成二维数组求最大值,最小值,四舍五入等的函数,并求出最大值,最小值所在的位置。-Completed the two-dimensional array to seek maximum, minimum, rounded function, and calculated the maximum and minimum value of the location.
chengxu4
- 函数的功能使对变量h中的值保留2位小树,并对第三位进行四舍五入(规定h中的值位正数)。 -The functionality of the function value to retain two trees in the variables h , and the third round ( the provisions of the h in the value of a positive number) .
suanshuyunsuan
- 一个可供小学数学运算的程序,要求能计算0——100正数加减乘除四则运算,如结果为小数四舍五入保留小数点后两位,根据输入题数出题,题目应为随机,每次应不一样。-An alternative elementary school math program requirements can calculate the positive number of 0- 100 Math four operations, such as results decimal rounded to two decimal
jisuanceshi
- 制作一个可供小学数学运算的程序,要求能计算0——100正数加减乘除四则运算,如结果为小数四舍五入保留小数点后两位,根据输入题数出题,题目应为随机,每次应不一样。-Production of an alternative elementary school math program requirements can calculate the positive number of 0- 100 Math four operations, such as results decimal rounde
AnglePrecisionConvert
- // Summary: 角度精度的转换 // Parameters: // dAngle - 角度, 单位度(°) // nPrecision - 精度, 1:度、2:分、3:秒 // Returns: 成功返回转换后的角度字符串,否则返回空 // Note: 转换结果带四舍五入 例: 角度值 0.5° 转换结果 0°30′0″ 角度值 0.56789° 转换结果 0°34′4″ 角度值 360.5123
Temperature-Converter
- 这段代码之间的转换主要是已知温度8。摄氏度,迪莱尔,华氏,开尔文,牛顿,兰金,和Rø mer列氏的。在任何方向的转换可以做。用户可以选择得到一个精确值,或使用四舍五入的输出。-Conversion between this code is mainly known temperature 8. Degrees Celsius, Delisle, Fahrenheit, Kelvin, Newton, Rankin, and Rmer column' s' s. In an