From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cda729d126da2d3,start X-Google-Attributes: gid103376,public From: Hackker Wong Subject: how to convert string to float type? Date: 2000/11/09 Message-ID: <3A0A754B.5275EC0@cse.cuhk.edu.hk>#1/1 X-Deja-AN: 691554190 Content-Transfer-Encoding: 7bit X-Accept-Language: zh-TW,en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@erg.cuhk.edu.hk X-Trace: eng-ser1.erg.cuhk.edu.hk 973763797 10426 137.189.90.240 (9 Nov 2000 09:56:37 GMT) Organization: ERG CUHK Mime-Version: 1.0 NNTP-Posting-Date: 9 Nov 2000 09:56:37 GMT Newsgroups: comp.lang.ada Date: 2000-11-09T09:56:37+00:00 List-Id: hi, i am doing a calculator homework. i use get() in text_io to read the whole expression including (+, -, *, /, numbers) in string format. but i have a problem in converting sub-string to float type. would anyone help me? thx! -- - By Hackker **************************************************** Mr. Hackker Wong, Y99 Student of Computer Science, The Chinese University of Hong Kong. **************************************************** -The World can't run without computer technicians-