We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Option to stop rounding decimals on number text fields

Feature Requests

Marketing Alliance, Inc.'s avatar
Marketing Alliance, Inc.
156 posts
2 years ago
Marketing Alliance, Inc.'s avatar Marketing Alliance, Inc.

I don’t see a way to stop text fields from rounding to 4 characters past the decimal when set to Number or Decimal. Removing the rounding option would be useful for latitude and longitude values, which can have quite a few characters past the decimal.

       
Andy McCormick's avatar
Andy McCormick
322 posts
2 years ago
Andy McCormick's avatar Andy McCormick

Have you tried adding the decimal_place parameter? You should be able to do something like decimal_place="15" to achieve more precision.

https://docs.expressionengine.com/latest/fieldtypes/number.html#template-tags

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.