Solved

· String to Real

Posted on 1998-10-30
3
1,025 Views
Last Modified: 2008-02-01
How can I do this:

Realvar:= Edit1.Text; ( StrToInt doesn't work )

and viceversa.

bryan
0
Comment
Question by:bryan7
3 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 0 total points
ID: 1345094
yo bryan,

RealVar := StrToFloat(Edit1.Text);

viceversa FloatToStr or FloatToStrF

Regards, Zif.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1345095
hi bryan7,

an other solution is to use the Val-Procedure

Val(Edit1.Text,RealVar,ErrorCode)

meikl
0
 
LVL 3

Author Comment

by:bryan7
ID: 1345096
thanx
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now