Pango.units_from_double
Description: Reference for Pango.units_from_double

### Function

# Pangounits_from_double

#### Declaration [src]

    int
    pango_units_from_double (
      double d
    )

#### Description [src]

Converts a floating-point number to Pango units.

The conversion is done by multiplying `d` by `PANGO_SCALE` and rounding the result to nearest integer.

Available since: | 1.16

#### Parameters

`d` | `double`
| Double floating-point value.

#### Return value

Returns: | `int`
| The value in Pango units.