Re: [w3c/payment-request] Are integer values for PaymentCurrencyAmount.value left as integers? (#624)

cyberphone left a comment (w3c/payment-request#624)

I guess this is the reason: amount is decimal number while double is a floating point number, giving rounding errors for 10.3 which translates to 402499999999999a in IEEE-754.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/624#issuecomment-3506237549
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/payment-request/issues/624/3506237549@github.com>

Received on Saturday, 8 November 2025 09:11:54 UTC