iCAx开思工具箱

标题: int-double [打印本页]

作者: 刘亮    时间: 2005-3-22 16:44
标题: int-double
int i;
double dest_point[3]={10,0,i};
i是int变量,怎么编程double变量?
谢谢,既int怎么转换为double
作者: Patton_icax    时间: 2005-3-22 21:07
试试(double) i




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3