Added support for nchar to/from double