[V5] Float numbers are rounded: cannot store latitude/longitude values

Is there a way to adjust how Strapi rounds float numbers ? Right now it is limited to two decimal places which is not enough for geolocation values. Thank you!

This topic has been created from a Discord post (1284144510460493825) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like

:point_up: Bumping this question, I’m also looking for an answer

Did you try with number/decimal?

Pretty sure there was float before, you probably can fix
It with modifying schema json

Likely this is a content editor bug

We have an unstable API to modify the column type in Knex that can let you change the precision of the field: Models | Strapi 5 Documentation

1 Like