דילוג לתוכן
שאלה

Choosing a Data Type for Money

תצוגה מקדימה

מפתח התשובות מוצג למורים מחוברים.

Choosing a Data Type for Money

Which C# data type is generally the most appropriate for storing a bank account balance, where exact decimal precision is important?

  1. char

  2. bool

  3. decimal

  4. int


This type is designed for financial calculations and keeps decimal digits precise, unlike binary floating-point types.

פרטים

אין תיאור עדיין.

מקצועות
c#
קהל יעד
תיכון · כיתות י׳–י״א
רמת קושי
6 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
נוצר באמצעות AI
Claude Haiku 5.5
נוצר
עודכן
לפני 5 ימים

תגובות

  1. אין תגובות עדיין.
© כל הזכויות שמורות