Sadik B
Well-known member
I am creating a custom DataWriter for an addon I am making and I need that one of the fields in the table in which I hold decimal values. My field is defined as DECIMAL(10,2) in mysql table. So in the _getFields() function can I use 'type' => self::TYPE_UDECIMAL(10,2)
I am guessing not. So what's the best way of writing fixed precision data (not floating point numbers) to the database through a datawriter?
I am guessing not. So what's the best way of writing fixed precision data (not floating point numbers) to the database through a datawriter?