Skip to content
Back

float

  • 0
  • Self Hosted
  • Databases
Gerardo
11 Dec, 2025, 16:32

Hello everyone, So, I created a column of type float with the min and required options, I noticed that it wouldn't let me set a 2 decimal points for the min value like 0.25. 😵 So I left it as 0.2 Then when I tried to create a row it was the same issue. Bottom line is this thing would not let me set a float even with a 2 decimal position. and the error I get is the following :

Please enter a valid value. The two nearest valid values are 0.2 and 0.3. I've seen some posts with this exact error but in previous versions https://github.com/appwrite/appwrite/issues/2764 https://github.com/appwrite/appwrite/issues/2614

is there a workaround for this issue?

Thanks in advance I'm using ubuntu, and appwrite:1.8.0 self hosted

TL;DR
Developers trying to set a **float** column with **2 decimal points** face an issue in their **Appwrite 1.8.0 self-hosted setup**. The platform doesn't accept decimal values properly due to limitations, showing an error suggesting the nearest valid values. This is a known issue with some workarounds proposed in the following GitHub issues: - https://github.com/appwrite/appwrite/issues/2764 - https://github.com/appwrite/appwrite/issues/2614 The solution is to **manually input the nearest valid value shown in the error prompt** or refer to the workarounds provided
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more