test for compatibiliby_mode issue in write_number added. repoted from Ryan Howe
bug fix in write_number(). test_compatibility_mode_write_number pass.
add v0.6.18 comment.
set version to 0.6.18