将十进制数据保存在文件中时丢失十进制数据 [英] Loosing decimal data when saving it in a file

查看:87
本文介绍了将十进制数据保存在文件中时丢失十进制数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Excel表单中我获取信息,文本字符串和带小数的数字。当使用  VBA宏将此数据写入文件时,我从数字中删除了十进制数据。

From an Excel Form I get information, text strings and numbers with decimals. When writting this data to a file with a VBA macro I loose the decimal data from the numbers.

我使用WRITE命令将数据写入打开的文件。使用PUT命令会产生同样的问题。

I use the WRITE command to write the data to an open file. Using the PUT command gives the same problem.

如何确保十进制数据不会丢失?

How can I make sure that the decimal data doesn't get lost?

问候,UVman

推荐答案

当您使用VBA时,如果您在VBA论坛上重新发布您的问题以获得更好的回复会更好
http://social.msdn.microsoft.com/forums/en-US/isvvba/threads/

kaymaf


这篇关于将十进制数据保存在文件中时丢失十进制数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆