What's the difference between currency and float field types? | Community
Skip to main content
Casey_Grimes2
Level 10
April 5, 2019
Question

What's the difference between currency and float field types?

I'm looking to setup some fields that would store prices in them (e.g., 46.10) for a custom object—prior to now, I've always used float field types to hold this sort of information. From a structural point of view, are there any advantages/disadvantages to using the currency field type instead? This data would not be displayed in any emails/landing pages/etc., so formatting is less of an issue. Are there any plans to support multiple currencies?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
April 5, 2019

Currency and Float are both broken (see my blog). Use scaled Integer or else you'll lose data.

Translate
Level 3
October 12, 2023

de

Translate