# Widening Conversion

An automatic numeric conversion to a type that can represent a wider range of values.

## What is **Widening Conversion** in Java?

**Widening Conversion** — An automatic numeric conversion to a type that can represent a wider range of values.

```java
class TicketCounter {
    void convertValues() {
        int tickets = 7;
        double exactTickets = tickets;
        int wholePrice = (int) 7.9;
    }
}
```

Level: Novice · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/novice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/widening-conversion
