Class Budget2023

java.lang.Object
Budget2023

public class Budget2023 extends Object
Provides high-precision statistical analysis of the 2023 Greek State Budget. This class calculates the percentage distribution of fixed historical expenses and incomes, representing each category as a ratio (0.0 to 1.0) relative to the annual totals (806.88B for expenses and 798.04B for incomes). All calculations use BigDecimal with 8-decimal precision and RoundingMode.HALF_UP for financial accuracy.
  • Constructor Details

    • Budget2023

      public Budget2023()
  • Method Details

    • staticsExp

      public static BigDecimal[] staticsExp()
      Calculates and returns the relative distribution of expense categories for the year 2023 based on the total public expenditure.

      Each element in the returned array represents the proportion of a specific expense category relative to the total expenses and is calculated using BigDecimal division with rounding applied.

      Returns:
      a BigDecimal array containing the normalized expense values
    • staticsInc

      public static BigDecimal[] staticsInc()
      Computes the relative distribution of income categories for the year 2023 based on the total projected public revenue.

      Each element of the returned array represents the proportion of a specific income category relative to the total income. The values are calculated using BigDecimal division with a scale of 8 decimal places and RoundingMode.HALF_UP rounding to ensure numerical accuracy.

      Returns:
      a BigDecimal array containing the normalized income values for all income categories in 2023