Wrong amount value when tax is set to 0
When in the payment configuration tax value is set to 0 (only zero without decimal), then at the payment page ammount input for paypal data is generated with {amount} placeholder instead of the value:
<input name="amount" value="{amount}" type="hidden"/>
when I use 0.0 as tax value then this placeholder is generated properly