Zero in decimal number not showing

Hi there, I’m using Kirby’s number field, and in the panel decimal number are displayed correctly:

  price:
    label: Price
    type: number
    width: 1/3
    min: 0
    before: €
    step: .01

But once I use the snippet zero number are not display:

<?= $page->price()->toFloat() ?> 

Is there any bug?

@texnixe is something already fixed?

Apparently not. But you can instead format your number string on the frontend.

Ok, could You suggest me a guide in order to achieve that?

https://www.php.net/manual/de/function.number-format.php

E.g.

<?= number_format($page->price()->toFloat(), 2) ?>