What variable type should quantity and price be?

Hi,
What variable type should quantity and price be?

HI @Shannon_Quek

Its depend on your Use case, It could be as a string or Int32 or Int64

Regards
Gokul

Hi,

In most case, it’s good to use Int32.
If there is possibility it has decimal point, should use Double or Decimal.
If your need to handle large number (more than 2147483647) , should use Int64 or Decimal.

Regards,