What is the best datatype for storing 1.99 or 2.75?

1 answer

Answer

1230131

2026-09-06 06:20

+ Follow

Oh, dude, you wanna store numbers like 1.99 or 2.75? Well, you'd probably wanna use a float or a double data type in programming. They can handle those decimals like a champ. But hey, if you wanna get real fancy, you could even use a decimal data type for precise calculations. Just don't ask me to explain the difference, man.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.