代码搜索:数字转换
找到约 10,000 项符合「数字转换」的源代码
代码结果 10,000
www.eeworm.com/read/451125/7471032
java changetype.java
/*
*文件名:ChangeType.java
*
*
*
*题目:数字转中文
*说明:
*1。有两个编辑框,一个用于输入阿拉伯数字,一个用于输出中文字符串,一个按钮。
*2。阿拉伯数字可包括小数,整数部分不超过13位,小数部分不超过4位。
* 1205404.36---转换为---壹佰二拾万五仟肆佰零肆点叁陆
*
*编程思路:
*编制两个编辑框,和一个 ...
www.eeworm.com/read/183362/9167162
c atoi.c
//测试结果:把字符串"31512"转换成了数字31512.
#include "string.h"
#include "stdio.h"
int main()
{
char tmp[10]="31512";
int i;
char *p;
p=tmp;
i=atoi(p);
printf("%d\n",i);
return 0;
}
www.eeworm.com/read/170114/9818849
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/332234/12772200
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/240662/13208018
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/321262/13410012
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/410511/11280344
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/264473/11311915
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/252193/12294702
c 7-39.c
/* 将字符串a 与字符串b转换成数字后相加*/
#include
main()
{
char *a="–100.23";
char *b="200e-2";
float c;
c=atof(a)+atof(b);
printf("c=%.2f\n",c);
}
www.eeworm.com/read/472372/6876140
c timer.c
#include "timer.h"
void InitBt(void)
{
BTCTL=BT_ADLY_1000; // for 1s timer interrupt
//IE2 &= ~BTIE;
IE2 |= BTIE;
}
//时间值转换为LCD显示的单个数字
void time_convert(void)
{
time_disbu