Re: Datatype checking in DotNET
- From: Nicholas Sherlock <N.sherlock@xxxxxxxxx>
- Date: Sat, 30 Jun 2007 23:32:41 +1200
Daniel Hobson wrote:
Oh what a mess from that last message (/me has to watch my copy and pasting LOL!):-
Hi Nicholas,
Yeah I am doing that now at the moment for example as based on the given
example previously:-
I use StrToFloat, if this fails, it raises an exception (Which is fine of
course).
But what I am trying to achieve here is to ensure the data integrity, does
the data meet the float bounds?????
StrToFloat will almost certainly do that too. Give it a try with a really big float, something like 10E1000.
Cheers,
Nicholas Sherlock
.
- Follow-Ups:
- Re: Datatype checking in DotNET
- From: Rob Kennedy
- Re: Datatype checking in DotNET
- References:
- Datatype checking in DotNET
- From: Daniel Hobson
- Re: Datatype checking in DotNET
- From: Nicholas Sherlock
- Re: Datatype checking in DotNET
- From: Daniel Hobson
- Datatype checking in DotNET
- Prev by Date: Re: Delphi.NET
- Next by Date: Re: Datatype checking in DotNET
- Previous by thread: Re: Datatype checking in DotNET
- Next by thread: Re: Datatype checking in DotNET
- Index(es):
Relevant Pages
|