Create currency fields

To learn more about the different steps to create a custom field, read the For developers: Create custom fields for product types article.

Here is a list of the things that are specific for the currency field:

  • Field CLR type: typeof(decimal).FullName
  • User friendly data type: UserFriendlyDataType.Currency
  • DB type: DECIMAL
  • Field type: typeof(TextField).FullName

Here is a code example:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Create number fields