Skip to main content
to float

to float

3 7.4
To change a number so it can show decimal parts
  • verb
  • /floʊt/
  • Specialized
translation icon : convertir a coma flotante
  • I can say something like float, open paren, close paren.
  • floating-point
  • floating-point numbers
  • floating-point arithmetic

Examples

  • And I'll seed it by saying, you know what, go ahead and use get float to get the input.

  • The performance of Java programs depends on the density of their floating-point operations.

    Academic text (1999)
  • Additional new instructions allow more efficient conversion of a floating-point value to an integer value.

    Academic text (1994)
  • New instructions provide performance opportunities: quad-word floating-point storage references, square root, and convert to integer.

    Academic text (1994)
  • To convert the integer to a floating-point number, use the float function in your code.

  • The program will float the user input to ensure it can handle decimal numbers correctly.

  • In programming, you can float the variable by calling the appropriate conversion method.

Idioms

1 6.8

To move with light, graceful steps like a butterfly

Phrasal Verbs

15 3.2

Move slowly through the air or water until out of sight

Compounds

4 2.9

A cold drink of root beer with a scoop of ice cream

A cold drink with ice cream floating in soda

milk float
  • Archaic
1 3.5

A small vehicle with an open side that delivers milk to homes

Carling float
  • Specialized
9.9

An emergency raft on a ship for people to use if they must leave at sea

A position for floating face down in the water with arms stretched forward to rest and breathe

float-type rain gage
  • Specialized
7.9

A device with a float that rests on collected rain to measure how much falls

float-type rain gauge
  • Specialized
7.3

A tool that measures rain using a float on the top of the collected water

A way to float by lying face down in the water with arms stretched forward to glide

plasterer's float
  • Specialized
8.1

A flat hand tool with a handle used to smooth wet wall material like plaster or cement

Surface Forms

float infinitive
floated past
floated past participle
floating present participle
floats third person singular

Etymology

In computing, to float a number means to change it into a 'floating' form where the decimal point can move, and the name comes from the idea of the decimal point being able to 'float' or move, like flotan 'to float'.