高三网 > 高考 > 高考备考 > float和int的区别

float和int的区别

高老师 分享 时间:

float的意思及用法

float可作名词和动词,意为浮动;漂浮;飘动;飘移;使漂流;轻盈走动;提出,提请考虑(想法或计划);浮子;彩车;鱼漂;(学游泳用的)浮板;加冰激凌的饮料;(商店的)备用零钱。

例句:A group of swans floated by.

一群天鹅缓缓游过。

A plastic bag was floating in the water.

一个塑料袋在水中漂浮。

There wasn't enough water to float the ship.

水不够深,船浮动不起来。

She floated down the steps to greet us.

她轻盈地下楼来迎接我们。

They floated the idea of increased taxes on alcohol.

他们建议提高酒税。

The company was floated on the stock market in 2001.

这家公司于2001年上市。

You look you were hit by a mardi gras and a gay pride float.

你就像被一辆狂欢节花车撞完,然后又被一辆男同游行彩车撞到。

An analytical solution of free vibration for floating circular plate with moderate thickness

中厚度圆浮板自由振动的一个解析解

int的意思及用法

int作为名词,意为国际性组织。

例句:Rachel: Goodbye, baby. Paolo: Ciao int, bela.

再见,宝贝。再见。

You just created a new data type defined by the built-in int class.

您立即可以创建一个由内置int类定义的新数据类型。

I think China will win gold int he volleyball.

我想中国会赢得排球比赛的金牌。

I meet him almost twice a day int the lift.

我几乎每天电梯里见到他两次。

If you add an int and a long, the result will be long.

如将一个int和一个long值相加,则结果为long。

Click the default string type and select int from the types list.

单击缺省的string类型,并从类型列表中选择int。