* Fixed number truncation when writing documents.