标签: pascal
如何将pascal字符串转换为double?
答案 0 :(得分:1)
像这样:
Val(YourString, YourDouble, ErrorCode);
需要ErrorCode(Integer)才能知道转换是否成功。
希望有所帮助:)