– Show fractional numbers in prices
your Tickera prices are showing as round whole numbers (\$9 or \$10) and you need them to show with decimals (\$9.50, \$9.99) — either because your currency requires it or because you use psychological pricing like \$X.99.
The fix: a free add-on plugin
We maintain a small add-on that forces fractional display on every Tickera price even when the underlying value is a whole number. Install it like any other WordPress plugin.
- Download: custom-show-fractional-numbers.zip
- WordPress admin → Plugins → Add New → Upload Plugin, install, activate.
- Reload any page that shows ticket prices — whole-number prices now display as
\$100.00instead of\$100.
What it changes
- Event-page ticket-type prices.
- Cart line items.
- Checkout totals.
- Order confirmation email totals.
- Tax line items.
The plugin uses Tickera’s number-format filter to force two decimal places. No settings — install, activate, the formatting changes everywhere consistently.
Why Tickera trims decimals by default
Tickera respects the WordPress number-format setting and trims trailing zeroes — so \$100.00 displays as \$100 because the zeros add no information. For most currencies this looks cleaner. For currencies where the decimal is meaningful (or psychologically important), the add-on flips the behaviour.
Currency considerations
This add-on works for any currency Tickera supports. Useful especially for:
- Currencies that always show two decimals by convention (EUR, USD, GBP, AUD, BRL).
- Pricing with intentional decimals (\$9.99, \$24.99, \$49.95) for the psychological-price feel.
- Taxes and fees that don’t round to whole numbers.
Related
Was this article helpful?
Yes — great. No or partially? Tell us what was missing — we read every message and use it to improve these docs.