go top

float variable

网络释义

  浮点型变量

第一个声明一个标识为a 的整型变量(int variable),第二个声明一个标识为mynumber 的浮点型变量(float variable)。声明之后,我们就可以在后面的程序中使用变量a和 mynumber 了。

基于2个网页-相关网页

有道翻译

float variable

浮点变量

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句原声例句

  • The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).

    清单1中的示例说明了如何创建多种类型变量(整型浮点字符串数组函数)。

    youdao

  • You can also declare a variable as a "Float", which means it can store numbers with decimal places.

    可以定义一个变量就意味着存储数位

    youdao

更多双语例句
  • > David: At some point in time, I'm going to have to have declared the variable as a float before I can then hand it to printf as the insertion value for that format strength.

    >,大卫:在一个特定的时间,我将需要,声明float类型这样的变量,那样我就可以把它打印出来,像是格式化优点的插入值。

    哈佛公开课 - 计算机科学课程节选

  • I need to now put this float somewhere, and I'll put it in a variable called f that you can call it whatever you'd like.

    我现在需要把这个浮点数放在哪个地方,然后我把它放在,一个叫做f的变量里,你也可以给这个变量取其它的你喜欢的名字。

    哈佛公开课 - 计算机科学课程节选

  • And I'm storing the answer in a variable called "answer" that's of type float.

    我把这个答案存储在一个float类型的,叫做“answer“的变量中。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定