Best Practice: Money fields in Preside

What is the best practice for:

  • storing prices in Preside objects (dbtype money, float or decimal(12,2) )
  • defining the form in the admin. Is there a formcontrol for that?

Thanks
Michi

I think the database type will/may depend on your requiremnets. i.e. do you need to support currencies that support 4 decimal places, etc. We use decimal(x,x) in places and that works well.

We don’t have any specific form controls for money values. We have been using the spinner control without any issue.

1 Like