Skip to content
DevMeme
3472 of 7590
Languages Post #3807 · source on Telegram

A Punny Joke About Hungarian Currency and Data Types

Description

This meme uses the 'Pun Dog' or 'Bad Joke Husky' format, which features a husky telling a corny joke in three panels. In the first panel, the husky has a thoughtful expression, posing the setup: 'WHY DO PRICES IN HUNGARY NOT HAVE DECIMAL PLACES?'. The second panel shows the husky with a playful, smiling look, delivering the punchline: 'BECAUSE THEY PAY IN FORINT, NOT FORFLOAT!'. The third panel shows the husky with a wide-eyed, goofy grin, representing the laughter after a cheesy joke. The humor is a multilingual pun combining the Hungarian currency, the Forint, with the programming data types 'int' (integer) and 'float' (floating-point number, which can have decimals). Forint sounds like 'for int', creating a clever, if groan-inducing, joke that only developers with some knowledge of both international currency and basic programming concepts would appreciate

Comments

14
Anonymous ★ Top Pick I tried to buy a coffee in Budapest with a double, but they said they only accept exact change
  1. Anonymous ★ Top Pick

    I tried to buy a coffee in Budapest with a double, but they said they only accept exact change

  2. Anonymous

    Hungary quietly solved monetary precision by choosing a unit that fits in a signed 64-bit int - leaving the rest of us drafting yet another RFC on why 0.1 + 0.2 is “context‐dependent.”

  3. Anonymous

    This is why financial systems still use fixed-point arithmetic - not because of Hungary, but because IEEE 754 floating-point can't accurately represent 0.1, and nobody wants to explain to the CFO why their quarterly reports are off by 0.0000000001 cents due to rounding errors in JavaScript

  4. Anonymous

    This meme perfectly captures the essence of type system pedantry that every senior engineer has weaponized in code reviews. The joke works on multiple levels: it's a legitimate observation about Hungarian currency (the forint genuinely has no subdivisions in common use), while simultaneously being a groan-inducing pun about primitive data types. It's the kind of joke that makes you simultaneously appreciate the cleverness and question whether you've spent too much time in strongly-typed languages. The real kicker? In production systems handling Hungarian transactions, you'd actually use a decimal type for currency to avoid floating-point precision errors - making this both a pun AND a subtle reminder of why financial calculations should never use floats. The dog's escalating enthusiasm mirrors how we feel delivering these puns in Slack at 2 AM during an incident

  5. Anonymous

    Hungary is that rare edge case where the PM’s 'no decimals' story passes QA - store HUF as scaled int/BigDecimal, not double, unless you enjoy auditing phantom cents

  6. Anonymous

    Hungary's forint: the rare currency that sidesteps float precision pitfalls - no bank runs from rounding errors

  7. Anonymous

    Money is an int with a scaling factor; Hungary just sets scale=0. If your code says price: float, prepare to teach the CFO why 0.1 + 0.2 ≠ 0.3 HUF

  8. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

    Lol thats really good

    1. @panKrysha 4y

      Is it true

      1. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

        Thats totally the reason. /s Also in Hungary there is no 1 and 2 Forint. So it will be rounded to the next 5Ft

        1. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

          @RiedleroD

          1. @RiedleroD 4y

            ?

  9. @MVA_ONE 4y

    If inflation continues, they'll pay in FORLONG soon. 😂

    1. @lilfluffyears 3y

      Yes xD

Use J and K for navigation