public override void writeObject(ExportContext ctx, object value, TypeData[] typeArguments = null) { ctx.writeDouble((double)value); }