write a function to check if the value is in float format?
-
hi, how can i write a function to check if the value is in float format? it should return true is the value is in float format. thanks
Hi, see here: http://www.thescripts.com/forum/thread230544.html[^] Maybe there is something that you can use. If the build-in functions given in the .NET do not saticfy you applications need then you can try the examples given in the link above,... Regards Kerem
----------------------- Beste Grüsse / Best regards / Votre bien devoue Kerem Gümrükcü Microsoft Live Space: http://kerem-g.spaces.live.com/ Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "This reply is provided as is, without warranty express or implied."
-
hi, how can i write a function to check if the value is in float format? it should return true is the value is in float format. thanks
return (value as float?) != null;
-
hi, how can i write a function to check if the value is in float format? it should return true is the value is in float format. thanks
float.TryParse
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )