Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Knob does not store floating numbers into the database (step is floating) #361

Open
gsieben opened this issue May 11, 2019 · 1 comment
Open

Comments

@gsieben
Copy link

gsieben commented May 11, 2019

I created a knop (min=20,max=30,step=0.1).

And I use a mysql server to store the date (persist).

But the software creates an values table with “tinyint(4)” instead of “float”.

The Problem is, that persitance does not work for floating values!

@gsieben
Copy link
Author

gsieben commented May 11, 2019

Workarround (alter Table in your sql Database):
ALTER TABLE <name of your schema>. <name of the tabel>
CHANGE COLUMN Value Value FLOAT NULL DEFAULT NULL ;

But restoring the old value does not work. The value 27.7 is set to 27!!!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant