Skip to content
Hard Design: Payment System (Stripe/PayPal)

Why should monetary amounts be stored as integers (cents) rather than floats?

— Tests your understanding of this concept.

Answer Options

A Integers are faster to process
B Floating-point arithmetic has precision errors that cause incorrect financial calculations
C PCI DSS requires integers
D Integers support more currencies

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Payment System (Stripe/PayPal) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Payment System (Stripe/PayPal) topic (System Design Cases).

More Design: Payment System (Stripe/PayPal) Questions