writeRecord and variable type
DierteK opened this issue · 2 comments
DierteK commented
Hello,
I want to edit a DBF file and have created the following test script for this purpose:
[...]
$table = new \Xbase\WritableTable($filename, null, 'CP1252');
$table->openWrite();
[...]
$record->foobar = 111.11;
$table->writeRecord();
The problem now is that a string
was written in the field "foobar". But I would like to write something there as float
.
Thanks