System Namespace Convert Class
Converts the value of a given Boolean to an equivalent single-precision floating point number.
[ VB ] Overloads Public Shared Function ToSingle ( _ ByVal value As Boolean _ ) As Single [ C# ] public static float ToSingle ( bool value ); [ C++ ] public: static float ToSingle ( bool value ); [ JScript ] public static function ToSingle ( value : Boolean ) : float;
The number 1 if value is true; otherwise, 0.
Convert Members Convert.ToSingle Overload List Boolean
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note